diff options
| author | 2025-07-13 22:34:04 +0800 | |
|---|---|---|
| committer | 2025-07-15 08:04:16 -0600 | |
| commit | b749965edda8fcf0fd3e188c56845e991eaa63c9 (patch) | |
| tree | b18dc5bc84caa375c574cfe12ea246e69d726819 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | ublk: add helper ublk_check_fetch_buf() (diff) | |
ublk: remove ublk_commit_and_fetch()
Remove ublk_commit_and_fetch() and open code request completion.
Consolidate accesses to struct ublk_io in UBLK_IO_COMMIT_AND_FETCH_REQ. When
the ublk_io daemon task restriction is relaxed in the future, ublk_io will
need to be protected by a lock. Unregister the auto-registered buffer and
complete the request last, as these don't need to happen under the lock.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250713143415.2857561-10-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
