diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-02-28 16:14:31 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-28 19:15:05 -0700 |
commit | e6ea7ec494881bcf61b8f0f77f7cb3542f717ff2 (patch) | |
tree | 4e47f2956a0d392df239cc96e78655f634f64cad /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 09fdd35162c289f354326a55d552a8858f6e8072 (diff) |
io_uring/ublk: report error when unregister operation fails
Indicate to userspace applications if a UBLK_IO_UNREGISTER_IO_BUF
command specifies an invalid buffer index by returning an error code.
Return -EINVAL if no buffer is registered with the given index, and
-EBUSY if the registered buffer is not a kernel bvec.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250228231432.642417-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions