summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-09-09 09:58:48 -0600
committerJens Axboe <axboe@kernel.dk>2026-09-10 14:49:15 -0600
commit11773ae6da9c9d92f5d1def78f7e70a9f1fa7b1c (patch)
tree906e15b783d3437d862468afa1621805a7744c00 /rust/kernel/alloc/kvec/errors.rs
parentc54cf3476674a6a01c61da85fa32aee9f07c0741 (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 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions