Skip to content

New zoned loop block device driver

Damien Le Moal linux-block 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 32 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on 6.15-rc1
- Some corrections of the documentation

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2block: new zoned loop block device driverMAINTAINERS drivers/block/Kconfig drivers/block/Makefile +1 more+1409 -00 replies
2/2Documentation: Document the new zoned loop block device driverDocumentation/admin-guide/blockdev/index.rst Documentation/admin-guide/blockdev/zoned_loop.rst MAINTAINERS +1 more+174 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigJohannes Thumshirn
SeriesR-b
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] New zoned loop block device driver

This patch series implements the new "zloop" zoned block device driver which allows creating zoned block devices using one regular file per zone as backing storage. This driver is an alternative to the RUST rublk driver which provide a similar functionality using ublk (See https://github.com/ublk-org/rublk.git). However, zloop is far simpler to use (a single shell command to setup and teardown a device) and does not have any user space dependencies. These characteristics make zloop a better solution for integration in test environments (such as xfstests) using small VMs.

zloop and rublk performance is generally comparable. zloop is a bit faster for large sequential write operations than rublk, while rublk is faster for small zone-random write IOs.

The first patch implements the "zloop" zoned block device driver under drivers/block. The second patch adds documentation for this driver (overview and usage examples).

About half of the code of the first patch is from Christoph Hellwig.

Damien Le Moal (2):
block: new zoned loop block device driver
Documentation: Document the new zoned loop block device driver

Changes from v2:
- Rebased on 6.15-rc1
- Some corrections of the documentation

Changes from v1:
- Corrected Kconfig description in patch 1 (outdated example was shown)
- Added missing request sector update on completion of zone append request (I had not pushed that...)
- Added reference to the documentation in the kconfig entry in patch 2

Damien Le Moal (2):
block: new zoned loop block device driver
Documentation: Document the new zoned loop block device driver

 Documentation/admin-guide/blockdev/index.rst  |    1 +
 .../admin-guide/blockdev/zoned_loop.rst       |  169 ++
 MAINTAINERS                                   |    8 +
 drivers/block/Kconfig                         |   19 +
 drivers/block/Makefile                        |    1 +
 drivers/block/zloop.c                         | 1385 +++++++++++++++++
 6 files changed, 1583 insertions(+)
 create mode 100644 Documentation/admin-guide/blockdev/zoned_loop.rst
 create mode 100644 drivers/block/zloop.c
Signature · 1 line
2.49.0