• Dan Williams's avatar
    block: enable dax for raw block devices · 5a023cdb
    Dan Williams authored
    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: default avatarkbuild test robot <fengguang.wu@intel.com>
    Reviewed-by: default avatarJan Kara <jack@suse.com>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    5a023cdb
block_dev.c 48.9 KB