Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321827 > unrolled thread

[PATCH 0/2] block: fix raw block device dax support

Started byDan Williams <dan.j.williams@intel.com>
First post2016-01-29 16:20 +0100
Last post2016-01-29 16:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] block: fix raw block device dax support Dan Williams <dan.j.williams@intel.com> - 2016-01-29 16:20 +0100

#1321827 — [PATCH 0/2] block: fix raw block device dax support

FromDan Williams <dan.j.williams@intel.com>
Date2016-01-29 16:20 +0100
Subject[PATCH 0/2] block: fix raw block device dax support
Message-ID<qWj06-517-39@gated-at.bofh.it>
The dax support for a raw block device did not account for page cache
entries established by the kernel for partition reads.  This breaks dax
as it assumes that page cache entries are limited to covering holes in
files, or are exceptional entries marking dirty pages.

Additionally, the facility to toggle dax at runtime fails to handle
evacuating the page cache when switching from non-dax-mode to dax-mode.
It needs to be rethought as enabling dax needs to be atomic with
flushing the page cache.

---

Dan Williams (2):
      block: revert runtime dax control of the raw block device
      block: use DAX for partition table reads


 block/ioctl.c             |   38 --------------------------------------
 block/partition-generic.c |   18 +++++++++++++++---
 fs/block_dev.c            |   28 ----------------------------
 fs/dax.c                  |   20 ++++++++++++++++++++
 include/linux/blkdev.h    |   10 ++++++++++
 include/linux/fs.h        |    3 ---
 include/uapi/linux/fs.h   |    1 -
 7 files changed, 45 insertions(+), 73 deletions(-)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web