Re: [PATCH v3 06/38] zbd: remove dependency on zone type during i/o

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

 



On Jan 07, 2021 / 06:57, Dmitry Fomichev wrote:
> Two different type of zones have a write pointer: Sequential Write
> Required (SWR) and Sequential Write Preferred (SWP). Introduce the
> zone flag "has_wp" in struct zbd_zone_info and set it to 1 for these
> zone types upon initialization, thus avoiding the necessity to check
> multiple zone types in core zbd code. This flag replaces zbd_zone_swr()
> function and lays the groundwork for supporting additional write
> pointer zone types in the future.
> 
> The overall functionality stays the same after this commit.
> 
> Signed-off-by: Dmitry Fomichev <dmitry.fomichev@xxxxxxx>

Looks good to me.

Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

-- 
Best Regards,
Shin'ichiro Kawasaki



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux