diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-05-22 23:20:40 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-22 10:03:55 -0600 |
commit | 914e0dc5082a335ea5e7d905e99e1a1cde001369 (patch) | |
tree | 9572afb2705e06a4f7387275496753f65ddd3f15 /scripts/gdb/linux/proc.py | |
parent | 3a91f28fab43f093c72312148288d125ae160c2d (diff) |
ublk: run auto buf unregisgering in same io_ring_ctx with registering
UBLK_F_AUTO_BUF_REG requires that the buffer registered automatically
is unregistered in same `io_ring_ctx`, so check it explicitly.
Document this requirement for UBLK_F_AUTO_BUF_REG.
Drop WARN_ON_ONCE() which is triggered from userspace code path.
Fixes: 99c1e4eb6a3f ("ublk: register buffer to local io_uring with provided buf index via UBLK_F_AUTO_BUF_REG")
Reported-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250522152043.399824-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions