diff options
author | Chaitanya Kulkarni | 2021-06-09 18:32:51 -0700 |
---|---|---|
committer | Christoph Hellwig | 2021-06-17 15:51:20 +0200 |
commit | ab5d0b38c0475d6ff59f1a6ccf7c668b9ec2e0a4 (patch) | |
tree | 7dcebe36a4041db58d572e500df038be6513c45e /sound/last.c | |
parent | 9a01b58c22ccabd00e990e9dc01c2de5865d6e4d (diff) |
nvmet: add Command Set Identifier support
NVMe TP 4056 allows controllers to support different command sets.
NVMeoF target currently only supports namespaces that contain
traditional logical blocks that may be randomly read and written. In
some applications there is a value in exposing namespaces that contain
logical blocks that have special access rules (e.g. sequentially write
required namespace such as Zoned Namespace (ZNS)).
In order to support the Zoned Block Devices (ZBD) backend, controllers
need to have support for ZNS Command Set Identifier (CSI).
In this preparation patch, we adjust the code such that it can now
support the default command set identifier. We update the namespace data
structure to store the CSI value which defaults to NVME_CSI_NVM
that represents traditional logical blocks namespace type.
The CSI support is required to implement the ZBD backend for NVMeOF
with host side NVMe ZNS interface, since ZNS commands belong to
the different command set than the default one.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions