block: enable dax for raw block devices
authorDan Williams <dan.j.williams@intel.com>
Mon, 30 Nov 2015 18:20:29 +0000 (10:20 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 9 Jan 2016 14:30:49 +0000 (06:30 -0800)
commit5a023cdba50c5f5f2bc351783b3131699deb3937
treebae047e7bf8fb28e48563b33afc2881c226f4e31
parent4ebb16ca9a06a54cdb2e7f2ce1e506fa4d432445
block: enable dax for raw block devices

If an application wants exclusive access to all of the persistent memory
provided by an NVDIMM namespace it can use this raw-block-dax facility
to forgo establishing a filesystem.  This capability is targeted
primarily to hypervisors wanting to provision persistent memory for
guests.  It can be disabled / enabled dynamically via the new BLKDAXSET
ioctl.

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>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Jan Kara <jack@suse.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