diff options
| author | 2026-09-09 09:58:48 -0600 | |
|---|---|---|
| committer | 2026-09-10 14:49:15 -0600 | |
| commit | 11773ae6da9c9d92f5d1def78f7e70a9f1fa7b1c (patch) | |
| tree | 906e15b783d3437d862468afa1621805a7744c00 /scripts/Makefile.thinlto | |
| parent | io_uring/cmd: split io_uring_cmd_set_res() from io_uring_cmd_done() (diff) | |
nvme/ioctl: call io_uring_cmd_set_res32() in ->end_io()
io_uring_cmd_set_res32() only performs loads and stores to the io_uring
request state, so it's safe to call in interrupt context. Move the call
from the nvme_uring_task_cb() task work to nvme_uring_cmd_end_io(). This
unifies the 2 places setting the NVMe status and result on the uring_cmd
and removes the need to pass them through struct nvme_uring_cmd_pdu,
saving 16 bytes and a couple memory accesses.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://patch.msgid.link/20260909155848.2069290-4-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
