diff options
author | Christoph Hellwig <hch@lst.de> | 2022-12-21 11:51:19 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-12-28 19:26:18 +0300 |
commit | 2a459f6933e1c459bffb7cc73fd6c900edc714bd (patch) | |
tree | 163b559700f4abbf1ba629d465828fba3ece715c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f2d1421391bba0b15684d2379a47a089f0e561d0 (diff) | |
download | linux-2a459f6933e1c459bffb7cc73fd6c900edc714bd.tar.xz |
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/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions