diff options
author | Javier González <javier.gonz@samsung.com> | 2020-12-01 13:02:21 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-12-01 20:36:38 +0100 |
commit | 2f4c9ba23b887e7a69a474e9d53f38b5833a2119 (patch) | |
tree | 00a7ea2a87a58d2bae51ac56e87faa7714481561 /kernel/sys_ni.c | |
parent | ba4fb3205680ade6c29c80102e86b88641709561 (diff) | |
download | linux-2f4c9ba23b887e7a69a474e9d53f38b5833a2119.tar.bz2 |
nvme: export zoned namespaces without Zone Append support read-only
Allow ZNS NVMe SSDs to present a read-only namespace when append is not
supported, instead of rejecting the namespace directly.
This allows (i) the namespace to be used in read-only mode, which is not
a problem as the append command only affects the write path, and (ii) to
use standard management tools such as nvme-cli to choose a different
format or firmware slot that is compatible with the Linux zoned block
device.
Signed-off-by: Javier González <javier.gonz@samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions