public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio-blk: fix a few problems in ZBD-related code
@ 2023-03-28  2:29 Dmitry Fomichev
  2023-03-28  2:29 ` [PATCH 1/2] virtio-blk: migrate to the latest patchset version Dmitry Fomichev
  2023-03-28  2:29 ` [PATCH 2/2] virtio-blk: fix ZBD probe in kernels without ZBD support Dmitry Fomichev
  0 siblings, 2 replies; 7+ messages in thread
From: Dmitry Fomichev @ 2023-03-28  2:29 UTC (permalink / raw)
  To: Jens Axboe, linux-block, Michael S. Tsirkin, Damien Le Moal,
	Stefan Hajnoczi, Hannes Reinecke, Sam Li
  Cc: virtio-dev, virtualization, Dmitry Fomichev

This two-part series contains code fixes that are related to the
recently added support for zoned block devices in virtio-blk
driver.

The original ZBD patchset that was merged to the kernel -next was not
the latest and greatest version. The first patch of this series is
essentially a diff between the current code and the final revision of
the original patchset.

The second patch fixes a problem that is observed when a host-managed
zoned device is virtualized via virtio-blk and the driver kernel is
configured without ZBD support (CONFIG_BLK_DEV_ZONED not set). In this
case, the driver must not allow the device scan to succeed in order to
avoid erroneous device operation that may cause data loss. The
second patch adds this currently missing functionality.

Dmitry Fomichev (2):
  virtio-blk: migrate to the latest patchset version
  virtio-blk: fix ZBD probe in kernels without ZBD support

 drivers/block/virtio_blk.c      | 268 ++++++++++++++++++++------------
 include/uapi/linux/virtio_blk.h |  18 +--
 2 files changed, 181 insertions(+), 105 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-29  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28  2:29 [PATCH 0/2] virtio-blk: fix a few problems in ZBD-related code Dmitry Fomichev
2023-03-28  2:29 ` [PATCH 1/2] virtio-blk: migrate to the latest patchset version Dmitry Fomichev
2023-03-28 14:51   ` [virtio-dev] " Stefan Hajnoczi
2023-03-29  8:16   ` Damien Le Moal
2023-03-28  2:29 ` [PATCH 2/2] virtio-blk: fix ZBD probe in kernels without ZBD support Dmitry Fomichev
2023-03-28 14:51   ` [virtio-dev] " Stefan Hajnoczi
2023-03-29  8:20   ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox