]> git.baikalelectronics.ru Git - kernel.git/commit
block: revert runtime dax control of the raw block device
authorDan Williams <dan.j.williams@intel.com>
Fri, 29 Jan 2016 04:13:39 +0000 (20:13 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 30 Jan 2016 21:35:31 +0000 (13:35 -0800)
commit3bc75e5b9ab0183dc9c95e04142879f140ad6251
tree1604ce0292634817892790f0eb8cdb0e1821de1e
parent9ad0bfc0653457827dc5f5e36d4a65af39c6971e
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>
block/ioctl.c
fs/block_dev.c
include/linux/fs.h
include/uapi/linux/fs.h