Commit b011769
committed
zbd/005: remove offset option of blkzone reset command
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.
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>1 parent d24f744 commit b011769
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments