Re: [PATCHv3 1/4] zram: introduce writeback bio batching support

From: Sergey Senozhatsky
Date: Tue Nov 18 2025 - 02:03:07 EST


On (25/11/15 11:34), Sergey Senozhatsky wrote:
[..]
> +static int zram_writeback_complete(struct zram *zram, struct zram_wb_req *req)
> +{
> + u32 index;
> + int err;
> +
> + index = req->pps->index;
> + release_pp_slot(zram, req->pps);
> + req->pps = NULL;

It's too early to release the pp_slot here. Will fix in v4.