diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-07-13 22:34:01 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-07-15 08:04:16 -0600 |
commit | 52460dda3a775a73f226312b43c0a0211e8665ea (patch) | |
tree | bdb2c342e0e4f091c1b60ff3719a6bc7a183823e /scripts/lib/abi/abi_regex.py | |
parent | 7ebdba87cf2a248aad10aff6b5fb1ca7c6b0add7 (diff) |
ublk: move auto buffer register handling into one dedicated helper
Move check & clearing UBLK_IO_FLAG_AUTO_BUF_REG to
ublk_handle_auto_buf_reg(), also return buffer index from this helper.
Also move ublk_set_auto_buf_reg() to this single helper too.
Add ublk_config_io_buf() for setting up ublk io buffer, covers both
ublk buffer copy or auto buffer register.
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250713143415.2857561-7-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions