diff options
author | Christoph Hellwig | 2020-09-25 07:19:13 +0200 |
---|---|---|
committer | Christoph Hellwig | 2020-10-07 07:56:18 +0200 |
commit | d4609ea8b3d3fb3423f35805843a82774cb4ef2f (patch) | |
tree | 15b5bf096cd1bcafed28c89d2e1dc8652975d8c5 /drivers/nvme/host/fabrics.h | |
parent | fab72f5a046883ae5851c95b7c6e7a08f984e391 (diff) |
nvme: factor out a nvme_configure_metadata helper
Factor out a helper from nvme_update_ns_info that configures the
per-namespaces metadata and PI settings. Also make sure the helpers
clear the flags explicitly instead of all of ->features to allow for
potentially reusing ->features for future non-metadata flags.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
0 files changed, 0 insertions, 0 deletions