On Thu, Aug 01, 2019 at 06:19:32PM -0400, Josef Bacik wrote: > This is a set of patches to address how we do space flushing for inode > evictions. Historically we've only been allowed to do a few things to reclaim > space for inode evictions, mostly because we'd deadlock with iput. But we have > delayed iputs in place to make sure we're always doing iput where it's > completely safe to do an iput. > > However we do run iputs for flushing, so we can't just do FLUSH_ALL, otherwise > we could deadlock. Also we still want to prioritize evictions for space > reclamation because we likely will free up space for other people to make > reservations. > > The first 4 patches are preparation patches, just refactoring so we can add this > new flushing time for eviction. This allows us to clean up our current ad-hoc > loop we have for reclaiming space for evictions and use the common helpers that > everybody else uses. Thanks, I'll add this as a topic branch to for-next for testing, I have only skimmed the patches and did not do any kind of review.
