Skip to contentSkip to conversation

Documentation: admin-guide: blockdev: replace zone_capacity with zone_capacity_mb when creating devices

PATCH RESEND Applied Yongpeng Yang 3 participants 3 messages Dec 15, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Documentation: admin-guide: blockdev: replace zone_capacity with zone_capacity_mb when creating devices

From: Yongpeng Yang <[email protected]>

The "zone_capacity=%umb" option is no longer used. The effective option is now "zone_capacity_mb=%u", so update the documentation accordingly.

---
 Documentation/admin-guide/blockdev/zoned_loop.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/blockdev/zoned_loop.rst +1 -1
index 806adde664db..6aa865424ac3 100644
@@ -134,7 +134,7 @@ MB and a zone capacity of 63 MB::
 
         $ modprobe zloop
         $ mkdir -p /var/local/zloop/0
-        $ echo "add capacity_mb=2048,zone_size_mb=64,zone_capacity=63MB" > /dev/zloop-control
+        $ echo "add capacity_mb=2048,zone_size_mb=64,zone_capacity_mb=63" > /dev/zloop-control
 
 For the device created (/dev/zloop0), the zone backing files are all created
 under the default base directory (/var/local/zloop)::
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw
In reply to Yongpeng Yang
Quoted 4 lines · Yongpeng Yang

The "zone_capacity=%umb" option is no longer used. The effective option is now "zone_capacity_mb=%u", so update the documentation accordingly.

Applied, thanks!

[1/1] Documentation: admin-guide: blockdev: replace zone_capacity with zone_capacity_mb when creating devices

      commit: 67d85b062dcb49af9c903a58842a4ed7281f57b8

Best regards,

Signature · 1 line
Jens Axboe