Revision 2a459f6933e1c459bffb7cc73fd6c900edc714bd authored by Christoph Hellwig on 21 December 2022, 08:51:19 UTC, committed by Christoph Hellwig on 28 December 2022, 16:26:18 UTC
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>
1 parent f2d1421
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 120 bytes |
Kconfig | -rw-r--r-- | 5.4 KB |
Makefile | -rw-r--r-- | 3.2 KB |
blacklist.c | -rw-r--r-- | 9.4 KB |
blacklist.h | -rw-r--r-- | 135 bytes |
blacklist_hashes.c | -rw-r--r-- | 147 bytes |
check-blacklist-hashes.awk | -rwxr-xr-x | 1.0 KB |
default_x509.genkey | -rw-r--r-- | 407 bytes |
extract-cert.c | -rw-r--r-- | 3.6 KB |
revocation_certificates.S | -rw-r--r-- | 495 bytes |
system_certificates.S | -rw-r--r-- | 1017 bytes |
system_keyring.c | -rw-r--r-- | 9.9 KB |
Computing file changes ...