]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: avoid unnecessary flush bio
authorGuixin Liu <kanie@linux.alibaba.com>
Fri, 29 Jul 2022 03:53:05 +0000 (11:53 +0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2022 09:33:54 +0000 (11:33 +0200)
commitd416800776b530ad629b2959909062287339defd
treef2705ad1242a901787b76f00b4b1f53d06391caa
parentc46724cb8947697d4cfa5db44763d7c63b93a02b
nvmet: avoid unnecessary flush bio

For no volatile write cache block device backend, sending flush bio is
unnecessary, avoid to do that.

Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/io-cmd-bdev.c