Re: [PATCH blktests] zbd/005: remove offset option of blkzone reset command

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

 



On 7/25/25 17:08, Shin'ichiro Kawasaki wrote:
> The test case zbd/005 performs sequential writes to all sequential
> write required zone on the test target zoned block device. To prepare
> the device for this operation, the test invokes the blkzone reset
> command. However, it takes very long time to complete.
> 
> The root cause of the long reset time is the offset option of the
> blkzone reset command. This option specifies the first sequential write
> required zone. When the offset options is provided, the kernel processes
> the reset operation zone by zone. As a result, a separated zone reset
> command is issued to each sequential write required zone, significantly
> increasing the overall time.
> 
> To reduce the execution time of the blkzone reset command, remove the
> offset option. Without this option, the kernel can perform a single zone
> reset operation that resets all sequential write required zones.
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>


-- 
Damien Le Moal
Western Digital Research




[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