diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2018-05-23 00:34:39 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-25 16:50:12 +0200 |
commit | d5eff33ee6f80864d889d64fd3f6ea7b78dd1b24 (patch) | |
tree | c1fde2a87945df698f3a7bed7be6f76d11276e10 /arch/sh | |
parent | 618cff4285dc0ef6ebb99f715116e7af62565293 (diff) | |
download | linux-d5eff33ee6f80864d889d64fd3f6ea7b78dd1b24.tar.bz2 |
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 'arch/sh')
0 files changed, 0 insertions, 0 deletions