diff options
author | Christoph Hellwig <hch@lst.de> | 2022-12-21 09:51:19 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-12-28 06:26:18 -1000 |
commit | 2a459f6933e1c459bffb7cc73fd6c900edc714bd (patch) | |
tree | 163b559700f4abbf1ba629d465828fba3ece715c /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | f2d1421391bba0b15684d2379a47a089f0e561d0 (diff) |
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: c1fef73f793b ("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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions