Re: [f2fs-dev] [PATCH v4] fsverity: stop using PG_error to track error status

2022-11-29 Thread Jaegeuk Kim
On 11/28, Eric Biggers wrote: > On Mon, Nov 28, 2022 at 10:48:41PM -0800, Jaegeuk Kim wrote: > > > static void f2fs_finish_read_bio(struct bio *bio, bool in_task) > > > { > > > struct bio_vec *bv; > > > struct bvec_iter_all iter_all; > > > + struct bio_post_read_ctx *ctx = bio->bi_private; >

Re: [f2fs-dev] [PATCH v4] fsverity: stop using PG_error to track error status

2022-11-28 Thread Eric Biggers
On Mon, Nov 28, 2022 at 10:48:41PM -0800, Jaegeuk Kim wrote: > > static void f2fs_finish_read_bio(struct bio *bio, bool in_task) > > { > > struct bio_vec *bv; > > struct bvec_iter_all iter_all; > > + struct bio_post_read_ctx *ctx = bio->bi_private; > > > > - /* > > -* Update

Re: [f2fs-dev] [PATCH v4] fsverity: stop using PG_error to track error status

2022-11-28 Thread Jaegeuk Kim
On 11/25, Eric Biggers wrote: > From: Eric Biggers > > As a step towards freeing the PG_error flag for other uses, change ext4 > and f2fs to stop using PG_error to track verity errors. Instead, if a > verity error occurs, just mark the whole bio as failed. The coarser > granularity isn't

Re: [f2fs-dev] [PATCH v4] fsverity: stop using PG_error to track error status

2022-11-28 Thread Jaegeuk Kim
On 11/25, Eric Biggers wrote: > From: Eric Biggers > > As a step towards freeing the PG_error flag for other uses, change ext4 > and f2fs to stop using PG_error to track verity errors. Instead, if a > verity error occurs, just mark the whole bio as failed. The coarser > granularity isn't