Re: [PATCH 4/9] xfs: introduce background inode reclaim work

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

 



On Wed, Apr 06, 2011 at 02:14:26PM -0400, Christoph Hellwig wrote:
> > + * We can have inodes enter reclaim after we've shut down the syncd workqueue
> > + * during unmount, so don't allow reclaim work to be queued during unmount.
> 
> Nipick: this part of the comment would be better just above the
> MS_ACTIVE check.  I just tried to figure out what it was for, and it
> took me a while to realize the explanation was in the block comment
> above the function.

Will fix.

> > +static void
> > +xfs_syncd_queue_reclaim(
> > +	struct xfs_mount        *mp)
> > +{
> > +	if (!(mp->m_super->s_flags & MS_ACTIVE))
> > +		return;
> 
> Otherwise looks good.

I'll assume you meant to add a Reviewed-by tag there and include it
in the next posting.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
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