diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-05-20 12:54:34 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-20 10:24:45 -0600 |
commit | 53f427e7944b4f288866cc4a69835086e0958c6a (patch) | |
tree | 636765f12a35e020e5a49be736f4c4c3771af26e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 99c1e4eb6a3fbbec27c7c70e5fce15cdc1422893 (diff) |
ublk: support UBLK_AUTO_BUF_REG_FALLBACK
For UBLK_F_AUTO_BUF_REG, buffer is registered to uring_cmd context
automatically with the provided buffer index. User may provide one wrong
buffer index, or the specified buffer is registered by application already.
Add UBLK_AUTO_BUF_REG_FALLBACK for supporting to auto buffer registering
fallback by completing the uring_cmd and telling ublk server the
register failure via UBLK_AUTO_BUF_REG_FALLBACK, then ublk server still
can register the buffer from userspace.
So we can provide reliable way for supporting auto buffer register.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250520045455.515691-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions