diff options
author | Andreas Hindborg <a.hindborg@samsung.com> | 2023-08-04 13:46:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-08 15:45:53 -0600 |
commit | 29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 (patch) | |
tree | 220db1862acb82d70cc2525e6a146c17207c03c6 /scripts/bpf_doc.py | |
parent | 1a6e88b9593b63ccdfe1d84e3f99dd91e4f8d490 (diff) |
ublk: enable zoned storage support
Add zoned storage support to ublk: report_zones and operations:
- REQ_OP_ZONE_OPEN
- REQ_OP_ZONE_CLOSE
- REQ_OP_ZONE_FINISH
- REQ_OP_ZONE_RESET
- REQ_OP_ZONE_APPEND
The zone append feature uses the `addr` field of `struct ublksrv_io_cmd` to
communicate ALBA back to the kernel. Therefore ublk must be used with the
user copy feature (UBLK_F_USER_COPY) for zoned storage support to be
available. Without this feature, ublk will not allow zoned storage support.
Signed-off-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230804114610.179530-4-nmi@metaspace.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions