]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: use IOCB_NOWAIT only if the filesystem supports it
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 22 Nov 2021 10:08:27 +0000 (11:08 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Nov 2021 14:02:40 +0000 (15:02 +0100)
commitc4a195f2f389fb9431b58f65ddba82a17586ce60
tree5feb569e063727fad482e9faf6ea4401b449166a
parent8571484a434a0ba870ba9b5dbe4bbb2b22931470
nvmet: use IOCB_NOWAIT only if the filesystem supports it

Submit I/O requests with the IOCB_NOWAIT flag set only if
the underlying filesystem supports it.

Fixes: e0f635f9fa9f ("nvmet: use IOCB_NOWAIT for file-ns buffered I/O")
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/io-cmd-file.c