diff options
| author | Ming Lei <ming.lei@redhat.com> | 2026-03-31 23:31:54 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-07 07:39:24 -0600 |
| commit | 08677040a91199175149d1fd465c02e3b3fc768a (patch) | |
| tree | 0596b119af77e071ed4f0acf4067644319a5ae7b /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 4d4a512a1f87b156f694d25c800e3d525aa56e8a (diff) | |
ublk: enable UBLK_F_SHMEM_ZC feature flag
Add UBLK_F_SHMEM_ZC (1ULL << 19) to the UAPI header and UBLK_F_ALL.
Switch ublk_support_shmem_zc() and ublk_dev_support_shmem_zc() from
returning false to checking the actual flag, enabling the shared
memory zero-copy feature for devices that request it.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://patch.msgid.link/20260331153207.3635125-4-ming.lei@redhat.com
[axboe: ublk_buf_reg -> ublk_shmem_buf_reg errors]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
