vdpa_sim_blk: add support for flush, discard, and write-zeroes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- fixed clang issue reported by kernel test robot <[email protected]>
- used le*_to_cpu() to access virtio_blk_discard_write_zeroes fields
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vdpa_sim_blk: check if sector is 0 for commands other than read or writedrivers/ | +10 | 0 replies | |
| 2/4 | vdpa_sim_blk: make vdpasim_blk_check_range usable by other requestsdrivers/ | +23 | 0 replies | |
| 3/4 | vdpa_sim_blk: add support for VIRTIO_BLK_T_FLUSHdrivers/ | +5 | 0 replies | |
| 4/4 | vdpa_sim_blk: add support for discard and write-zeroesdrivers/ | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] vdpa_sim_blk: add support for flush, discard, and write-zeroes
The first 2 patches are in preparation and generalize parts later used by the following patches that add handling of flush, discard, and write-zeroes requests.
v3:
- fixed clang issue reported by kernel test robot <[email protected]>
- used le*_to_cpu() to access virtio_blk_discard_write_zeroes fields
v2: https://lore.kernel.org/virtualization/[email protected]/
v1: https://lore.kernel.org/virtualization/[email protected]/
Tree available here:
https://gitlab.com/sgarzarella/linux.git vdpa-sim-blk-flush-discard-wz
Thanks,
Stefano
Stefano Garzarella (4):
vdpa_sim_blk: check if sector is 0 for commands other than read or
write
vdpa_sim_blk: make vdpasim_blk_check_range usable by other requests
vdpa_sim_blk: add support for VIRTIO_BLK_T_FLUSH
vdpa_sim_blk: add support for discard and write-zeroes
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 127 +++++++++++++++++++++++---- 1 file changed, 111 insertions(+), 16 deletions(-)
Signature · 6 lines
2.37.1 _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization