diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-01-29 05:25:31 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-30 22:35:32 +0100 |
commit | d1a5f2b4d8a125943dcb6b032fc7eaefc2c78296 (patch) | |
tree | afdd4251d10cbcf34b00bd4f33adb27996881cc6 /mm/filemap.c | |
parent | block: revert runtime dax control of the raw block device (diff) | |
download | linux-d1a5f2b4d8a125943dcb6b032fc7eaefc2c78296.tar.xz linux-d1a5f2b4d8a125943dcb6b032fc7eaefc2c78296.zip |
block: use DAX for partition table reads
Avoid populating pagecache when the block device is in DAX mode.
Otherwise these page cache entries collide with the fsync/msync
implementation and break data durability guarantees.
Cc: Jan Kara <jack@suse.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Tested-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions