[dm-devel] [PATCH v2] dm verity: fix error handling for check_at_most_once on FEC

2023-03-21 Thread Yeongjin Gil
In verity_end_io(), if bi_status is not BLK_STS_OK, it can be return directly. But if FEC configured, it is desired to correct the data page through verity_verify_io. And the return value will be converted to blk_status and passed to verity_finish_io(). BTW, when a bit is set in v->validated_block

Re: [dm-devel] [PATCH v2] dm verity: fix error handling for check_at_most_once on FEC

2023-03-20 Thread Eric Biggers
On Mon, Mar 20, 2023 at 03:59:32PM +0900, Yeongjin Gil wrote: > In verity_end_io(), if bi_status is not BLK_STS_OK, it can be return > directly. But if FEC configured, it is desired to correct the data page > through verity_verify_io. And the return value will be converted to > blk_status and passe