aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/fc.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2018-05-23 00:34:39 -0400
committerChristoph Hellwig <hch@lst.de>2018-05-25 16:50:12 +0200
commitd5eff33ee6f80864d889d64fd3f6ea7b78dd1b24 (patch)
treec1fde2a87945df698f3a7bed7be6f76d11276e10 /drivers/nvme/target/fc.c
parentnvmet: remove duplicate NULL initialization for req->ns (diff)
downloadlinux-dev-d5eff33ee6f80864d889d64fd3f6ea7b78dd1b24.tar.xz
linux-dev-d5eff33ee6f80864d889d64fd3f6ea7b78dd1b24.zip
nvmet: add simple file backed ns support
This patch adds simple file backed namespace support for NVMeOF target. The new file io-cmd-file.c is responsible for handling the code for I/O commands when ns is file backed. Also, we introduce mempools based slow path using sync I/Os for file backed ns to ensure forward progress under reclaim. The old block device based implementation is moved to io-cmd-bdev.c and use a "nvmet_bdev_" symbol prefix. The enable/disable calls are also move into the respective files. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> [hch: updated changelog, fixed double req->ns lookup in bdev case] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions