2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/drivers/nvdimm
Dan Williams 8c2f7e8658 libnvdimm: infrastructure for btt devices
NVDIMM namespaces, in addition to accepting "struct bio" based requests,
also have the capability to perform byte-aligned accesses.  By default
only the bio/block interface is used.  However, if another driver can
make effective use of the byte-aligned capability it can claim namespace
interface and use the byte-aligned ->rw_bytes() interface.

The BTT driver is the initial first consumer of this mechanism to allow
adding atomic sector update semantics to a pmem or blk namespace.  This
patch is the sysfs infrastructure to allow configuring a BTT instance
for a namespace.  Enabling that BTT and performing i/o is in a
subsequent patch.

Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2015-06-25 04:20:04 -04:00
..
btt_devs.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
btt.h libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
bus.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
core.c libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
dimm_devs.c libnvdimm: write blk label set 2015-06-24 21:24:10 -04:00
dimm.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
Kconfig libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
label.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
label.h libnvdimm: write blk label set 2015-06-24 21:24:10 -04:00
Makefile libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
namespace_devs.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
nd-core.h libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
nd.h libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
pmem.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
region_devs.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
region.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00