]> www.infradead.org Git - users/dwmw2/linux.git/commit
nvmet: report ns's vwc not present
authorGuixin Liu <kanie@linux.alibaba.com>
Wed, 13 Nov 2024 10:18:39 +0000 (18:18 +0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 13 Nov 2024 16:51:17 +0000 (08:51 -0800)
commit609e60a3a9f4053b420d3ece565dee273bfdc2e8
tree24612b88e31ee7202220b39f85e5cebb4f3abe3c
parent8a825d22a70915bd80c811fa93538cf2540af29d
nvmet: report ns's vwc not present

Currently, we report that controller has vwc even though the ns may
not have vwc. Report ns's vwc not present when not buffered_io or
backdev doesn't have vwc.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/admin-cmd.c