Skip to content
8 changes: 7 additions & 1 deletion Documentation/admin-guide/blockdev/zoned_loop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The options available for the add command can be listed by reading the
/dev/zloop-control device::

$ cat /dev/zloop-control
add id=%d,capacity_mb=%u,zone_size_mb=%u,zone_capacity_mb=%u,conv_zones=%u,max_open_zones=%u,base_dir=%s,nr_queues=%u,queue_depth=%u,buffered_io,zone_append=%u,ordered_zone_append,discard_write_cache
add id=%d,capacity_mb=%u,zone_size_mb=%u,zone_capacity_mb=%u,conv_zones=%u,max_open_zones=%u,base_dir=%s,nr_queues=%u,queue_depth=%u,buffered_io,zone_append=%u,ordered_zone_append,discard_write_cache,stor_elements=%u
remove id=%d

In more details, the options that can be used with the "add" command are as
Expand Down Expand Up @@ -113,6 +113,12 @@ discard_write_cache Discard all data that was not explicitly persisted using a
each zone file to the size recorded during the last flush
operation. This simulates power fail events where
uncommitted data is lost.
stor_elements Control storage element emulation. The default value is 0,
indicating no emulation. A value of 1 indicates that all
access storage elements (equivalent to read+write head of
a disk) are emulated. A value of 2 enables fractional
access storage element (equivalent to pairs of read and
write heads of a disk) emulation .
=================== =========================================================

3) Deleting a Zoned Device
Expand Down
Loading