diff options
author | Andreas Hindborg <[email protected]> | 2023-08-04 13:46:10 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-08 15:45:53 -0600 |
commit | 29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 (patch) | |
tree | 220db1862acb82d70cc2525e6a146c17207c03c6 /lib/test_fortify/write_overflow-strncpy-src.c | |
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 <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Tested-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions