Re: [PATCH blktests] zbd/009: increase max open zones limit to 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/25/25 17:27, Shin'ichiro Kawasaki wrote:
The kernel commit 04147d8394e8 ("btrfs: zoned: limit active zones to
max_open_zones") introduced in kernel version v6.17-rc3 caused the
zbd/009 test case to hang during execution. The hang happens because
zoned btrfs requires the maximum active zones limit of zoned block
devices to be at least 11 or greater. The kernel commit applies this
same requirement to the maximum open zones limit also.

However, by default, the maximum open zones limit for zoned scsi_debug
devices is 8. The test case zbd/009 creates a scsi_debug device with
this limit and set up zoned btrfs. Thereby it violates the 11-zones
requirement, which resulted in the hang.

To avoid the hang, increase the max open zones limit of the scsi_debug
device from the default value 8 to 16.

Suggested-by: Naohiro Aota<naohiro.aota@xxxxxxx>
Signed-off-by: Shin'ichiro Kawasaki<shinichiro.kawasaki@xxxxxxx>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux