Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

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

Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Yongpeng Yang and committed by
Jens Axboe
67d85b06 4b2b0315

+1 -1
+1 -1
Documentation/admin-guide/blockdev/zoned_loop.rst
··· 134 134 135 135 $ modprobe zloop 136 136 $ mkdir -p /var/local/zloop/0 137 - $ echo "add capacity_mb=2048,zone_size_mb=64,zone_capacity=63MB" > /dev/zloop-control 137 + $ echo "add capacity_mb=2048,zone_size_mb=64,zone_capacity_mb=63" > /dev/zloop-control 138 138 139 139 For the device created (/dev/zloop0), the zone backing files are all created 140 140 under the default base directory (/var/local/zloop)::