Re: [PATCH 31/45] xfs: CIL context doesn't need to count iovecs

Dave Chinner
2021-03-11T05:04:01Z

On Mon, Mar 08, 2021 at 07:16:04PM -0800, Darrick J. Wong wrote:
> On Fri, Mar 05, 2021 at 04:11:29PM +1100, Dave Chinner wrote:
> > @@ -471,7 +462,6 @@ xlog_cil_insert_items(
> > }
> > tp->t_ticket->t_curr_res -= len;
> > ctx->space_used += len;
> > - ctx->nvecs += diff_iovecs;
>
> If the tracking variable isn't necessary any more, should the field go
> away from xfs_cil_ctx?

Yes. I thought I cleaned that up. Fixed.

--
Dave Chinner
david@fromorbit.com