Re: [PATCH v2 1/8] oslib: blkzoned: add blkzoned_move_zone_wp() helper function

Damien Le Moal <[email protected]>
Newsgroups org.kernel.vger.fio
Organization Western Digital Research
Message-ID <[email protected]>
On 4/25/25 2:21 PM, Shin'ichiro Kawasaki wrote:
> As a preparation for continue_on_error option support for zonemode=zbd,
> introduce a new function blkzoned_move_zone_wp(). It moves the write
> pointer by data write. If data buffer is provided, call pwrite() system
> call. If data buffer is not provided, call fallocate() to write zero
> data.
> 
> Signed-off-by: Shin'ichiro Kawasaki <[email protected]>

Looks good to me.

Reviewed-by: Damien Le Moal <[email protected]>

-- 
Damien Le Moal
Western Digital Research
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.