Re: [PATCH 12/16] xfs: implement batched inode lookups for AG walking

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

 



> +	int			(*grab)(struct xfs_inode *ip),

I think we can do without this callback.  The inode verification that
needs to be done is always the same.  The only difference is that the
dqrele code skips the quota inodes - but this can easily be done in
the execute callback, and given that it's a slow path the additional
two igrab calls won't hurt either.

To be symmetic with that the IRELE call should also be moved from the
execute callbacks into the caller.  All this is stuff enabled by
splitting out the reclaim code earlier which was pretty different in
this area.  In fact just moving the validation + igrab and IRELE into
common code might just be done in a separate patch between the last one
and this.

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux