WSL2-Linux-Kernel/drivers/nvme/target
Christoph Hellwig 2a459f6933 nvmet: don't defer passthrough commands with trivial effects to the workqueue
Mask out the "Command Supported" and "Logical Block Content Change" bits
and only defer execution of commands that have non-trivial effects to
the workqueue for synchronous execution.  This allows to execute admin
commands asynchronously on controllers that provide a Command Supported
and Effects log page, and will keep allowing to execute Write commands
asynchronously once command effects on I/O commands are taken into
account.

Fixes: c1fef73f79 ("nvmet: add passthru code to process commands")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
2022-12-28 06:26:18 -10:00
..
Kconfig nvmet-auth: select the intended CRYPTO_DH_RFC7919_GROUPS 2022-08-02 17:22:51 -06:00
Makefile nvmet: implement basic In-Band Authentication 2022-08-02 17:14:49 -06:00
admin-cmd.c nvmet: set the LBCC bit for commands that modify data 2022-12-28 06:26:13 -10:00
auth.c nvmet: fix a memory leak in nvmet_auth_set_key 2022-11-16 08:36:37 +01:00
configfs.c for-6.2/block-2022-12-08 2022-12-13 10:43:59 -08:00
core.c nvmet: expose firmware revision to configfs 2022-11-21 08:35:58 +01:00
discovery.c nvme: move from strlcpy with unused retval to strscpy 2022-09-19 11:33:53 +02:00
fabrics-cmd-auth.c nvmet-auth: don't try to cancel a non-initialized work_struct 2022-09-27 09:22:09 +02:00
fabrics-cmd.c nvmet: add helpers to set the result field for connect commands 2022-09-27 09:22:09 +02:00
fc.c
fcloop.c
io-cmd-bdev.c nvmet: don't look at the request_queue in nvmet_bdev_set_limits 2022-09-27 18:51:50 +02:00
io-cmd-file.c for-6.2/block-2022-12-08 2022-12-13 10:43:59 -08:00
loop.c nvme: consolidate setting the tagset flags 2022-12-07 15:02:20 +01:00
nvmet.h nvmet: expose firmware revision to configfs 2022-11-21 08:35:58 +01:00
passthru.c nvmet: don't defer passthrough commands with trivial effects to the workqueue 2022-12-28 06:26:18 -10:00
rdma.c RDMA/core: introduce ib_dma_pci_p2p_dma_supported() 2022-07-26 07:28:07 -04:00
tcp.c use less confusing names for iov_iter direction initializers 2022-11-25 13:01:55 -05:00
trace.c
trace.h
zns.c Merge branch 'for-6.1/block' into for-6.1/passthrough 2022-09-30 07:47:38 -06:00