virtio-dev.lists.oasis-open.org archive mirror
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH v2 0/2] virtio-blk: fix a few problems in ZBD-related code
@ 2023-03-30 21:49 Dmitry Fomichev
  2023-03-30 21:49 ` [virtio-dev] [PATCH v2 1/2] virtio-blk: migrate to the latest patchset version Dmitry Fomichev
  2023-03-30 21:49 ` [virtio-dev] [PATCH v2 2/2] virtio-blk: fix ZBD probe in kernels without ZBD support Dmitry Fomichev
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Fomichev @ 2023-03-30 21:49 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.

v1 -> v2:

 - address nits from Damien
 - add Review-by tags from Stefan and Damien

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      | 269 ++++++++++++++++++++------------
 include/uapi/linux/virtio_blk.h |  18 +--
 2 files changed, 182 insertions(+), 105 deletions(-)

-- 
2.34.1


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

end of thread, other threads:[~2023-04-03 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 21:49 [virtio-dev] [PATCH v2 0/2] virtio-blk: fix a few problems in ZBD-related code Dmitry Fomichev
2023-03-30 21:49 ` [virtio-dev] [PATCH v2 1/2] virtio-blk: migrate to the latest patchset version Dmitry Fomichev
     [not found]   ` <ZCrtjrYQHnppV8gN@infradead.org>
2023-04-03 17:35     ` [virtio-dev] " Michael S. Tsirkin
2023-04-03 17:53   ` [virtio-dev] " Michael S. Tsirkin
2023-03-30 21:49 ` [virtio-dev] [PATCH v2 2/2] virtio-blk: fix ZBD probe in kernels without ZBD support Dmitry Fomichev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).