On Wed, Mar 25, 2020 at 12:41:57PM +1100, Dave Chinner wrote: > Hi folks, > > These are the fixes and cleanups that are part of the non-blocking > inode reclaim series I've (slowly) been working on. These fixes and > cleanups stand alone, many have already been reviewed, and getting > them out of the non-blocking reclaim patchset makes that a much > smaller and easier to digest set of patches. > > The changes in this patchset are for: > > - limiting the size of checkpoints that the CIL builds to reduce the > memory it pins and the latency of commits. > - cleaning up the AIL item removal code so we can reduce the number > of tail LSN updates to prevent unnecessary thundering herd wakeups > - account for reclaimable slab caches in XFS correctly > - account for reclaimed pages from buffers correctly > - avoiding log IO priority inversions > - factoring the inode cluster deletion code to make it more readable > and easier to modify for the non-blocking inode reclaim mods. > > Thoughts, comments and improvemnts welcome. Oops, forgot to mention this is based on the for-next tree with Christoph's xlog-ticket-cleanup.2 branch merged on top. You can pull it from here: git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git xfs-fixes-cleanups-5.7 or browse: https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git/log/?h=xfs-fixes-cleanups-5.7 Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx