lkml.org 
[lkml]   [2022]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/4] vdpa_sim_blk: add support for flush, discard, and write-zeroes
Date
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 <lkp@intel.com>
- used le*_to_cpu() to access virtio_blk_discard_write_zeroes fields

v2: https://lore.kernel.org/virtualization/20220810094347.20449-1-sgarzare@redhat.com/
v1: https://lore.kernel.org/virtualization/20220428151242.213824-1-sgarzare@redhat.com/

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(-)

--
2.37.1

\
 
 \ /
  Last update: 2022-08-11 10:37    [W:0.031 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site