diff options
author | 2022-07-12 20:33:04 +0200 | |
---|---|---|
committer | 2022-08-02 17:22:53 -0600 | |
commit | eb867ee995bd687154adb77bf7fda05c7d16fd9d (patch) | |
tree | 65ab95ea6d33531d0baf9d56cf492e48d7e63958 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: factor out a nvme_ns_is_readonly helper (diff) | |
download | wireguard-linux-eb867ee995bd687154adb77bf7fda05c7d16fd9d.tar.xz wireguard-linux-eb867ee995bd687154adb77bf7fda05c7d16fd9d.zip |
nvme: enable generic interface (/dev/ngXnY) for unknown command sets
Extend nvme_alloc_ns() and nvme_validate_ns() for unknown command-set as
well. Both are made to use a new helper (nvme_update_ns_info_cs_indep)
which is similar to nvme_update_ns_info but performs fewer operations
to get the generic interface up.
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
[hch: rebased on other refactoring patches]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Javier González <javier.gonz@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions