Re: [PATCH v3 22/38] zbd: set thread errors in zbd_adjust_block()

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

 



On Jan 07, 2021 / 06:57, Dmitry Fomichev wrote:
> Several error conditions that are encountered during zone processing
> in zbd_adjust_block() function cause it to return io_u_eof value.
> This stops the i/o to the given file, but there is no error raised or
> reported if this code is returned. For a few particular conditions,
> just stopping the i/o is reasonable, but others are serious errors
> that should be reported.
> 
> Add td_verror() calls to raise thread errors for a few abnormal
> conditions during adjusting the i/o. The only test that needs to be
> modified because of this changes is test #2.
> 
> 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