diff options
| author | Xixin Liu <liuxixin@kylinos.cn> | 2026-08-19 08:50:00 +0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-09-03 14:15:10 -0700 |
| commit | 08acb54b063a33730eb1ae1e0f89bf36542bac9f (patch) | |
| tree | a842a31783ebf7827d3373f1b5292a83ab93ba67 /scripts/Makefile.thinlto | |
| parent | 14cc5a7e77731497d5bea70f3bb05df7eda982e4 (diff) | |
| download | linux-08acb54b063a33730eb1ae1e0f89bf36542bac9f.tar.gz linux-08acb54b063a33730eb1ae1e0f89bf36542bac9f.zip | |
nvme-tcp: defer TLS inline send to io_work
blk_mq holds set->srcu while queuing and running requests. The kTLS
software send path takes ctx->tx_lock. lockdep knows that tx_lock
nests under elevator_lock which then waits on srcu, so an inline
send from that path under TLS triggers circular locking.
Skip the inline send optimization for TLS queues so the send runs
from the workqueue instead. The same workqueue already retries TLS
sends on write-space notifications. Plain TCP keeps the inline path.
Fixes: be8e82caa685 ("nvme-tcp: enable TLS handshake upcall")
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Signed-off-by: Xixin Liu <liuxixin@kylinos.cn>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
