On Thu, 01 Dec 2022 15:10:36 +0900, Shin'ichiro Kawasaki wrote: > In zoned mode, zones with write pointers can have conditions "read-only" > or "offline". In read-only condition, zones can not be written. In > offline condition, the zones can be neither written nor read. These > conditions are intended for zones with media failures, then it is > difficult to set those conditions to zones on real devices. > > To test handling of zones in the conditions, add a feature to null_blk > to set up zones in read-only or offline condition. Add new configuration > attributes "zone_readonly" and "zone_offline". Write a sector to the > attribute files to specify the target zone to set the zone conditions. > For example, following command lines do it: > > [...] Applied, thanks! [1/1] null_blk: support read-only and offline zone conditions commit: d3a5738849e03990618cbb12e10db4eb82dbfda0 Best regards, -- Jens Axboe