Re: [PATCH 06/20] xfs: halt auto-reclamation activities while rebuilding rmap

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

 



On Mon, Mar 26, 2018 at 04:56:32PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> Rebuilding the reverse-mapping tree requires us to quiesce all inodes in
> the filesystem, so we must stop background reclamation of post-EOF and
> CoW prealloc blocks.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

We also do the same thing during remount and unmount, so these
helpers should be used in those places, too.

And, thinking about it - if the filesystem is frozen then we should
also be cancelling this background work and re-enabling it on
thaw. Seems like we've missed that altogether...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux