diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-01-28 20:13:39 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-01-30 13:35:31 -0800 |
commit | 9f4736fe7ca804aa79b5916221bb13dfc6221a0f (patch) | |
tree | 1604ce0292634817892790f0eb8cdb0e1821de1e /include/linux/fs.h | |
parent | 65f87ee71852a754f7981d0653e7136039b8798a (diff) | |
download | linux-9f4736fe7ca804aa79b5916221bb13dfc6221a0f.tar.gz linux-9f4736fe7ca804aa79b5916221bb13dfc6221a0f.tar.bz2 linux-9f4736fe7ca804aa79b5916221bb13dfc6221a0f.zip |
block: revert runtime dax control of the raw block device
Dynamically enabling DAX requires that the page cache first be flushed
and invalidated. This must occur atomically with the change of DAX mode
otherwise we confuse the fsync/msync tracking and violate data
durability guarantees. Eliminate the possibilty of DAX-disabled to
DAX-enabled transitions for now and revisit this for the next cycle.
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: Matthew Wilcox <willy@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b10002d4a5f5..ae681002100a 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -484,9 +484,6 @@ struct block_device { int bd_fsfreeze_count; /* Mutex for freeze */ struct mutex bd_fsfreeze_mutex; -#ifdef CONFIG_FS_DAX - int bd_map_count; -#endif }; /* |