• Home
  • Raw
  • Download

Lines Matching full:reclaim

143  * Queue background inode reclaim work if there are reclaimable inodes and there
144 * isn't reclaim work already scheduled or in progress.
169 /* propagate the reclaim tag up into the perag radix tree */ in xfs_perag_set_reclaim_tag()
175 /* schedule periodic background inode reclaim */ in xfs_perag_set_reclaim_tag()
191 /* clear the reclaim tag from the perag radix tree */ in xfs_perag_clear_reclaim_tag()
412 * trouble. Try to re-add it to the reclaim list. in xfs_iget_cache_hit()
720 * lookup reduction and stack usage. This is in the reclaim path, so we can't
745 /* avoid new or reclaimable inodes. Leave for reclaim code to flush */ in xfs_inode_walk_ag_grab()
755 /* If we can't grab the inode, it must on it's way to reclaim. */ in xfs_inode_walk_ag_grab()
983 * Grab the inode for reclaim exclusively.
990 * avoid inodes that are no longer reclaim candidates.
994 * ensured that we are able to reclaim this inode and the world can see that we
995 * are going to reclaim it.
1008 /* not a reclaim candidate. */ in xfs_reclaim_inode_grab()
1018 * Inode reclaim is non-blocking, so the default action if progress cannot be
1019 * made is to "requeue" the inode for reclaim by unlocking it and clearing the
1021 * blocking anymore and hence we can wait for the inode to be able to reclaim
1026 * done in the background in a non-blocking manner, and enables memory reclaim
1044 goto reclaim; in xfs_reclaim_inode()
1052 reclaim: in xfs_reclaim_inode()
1111 * Walk the AGs and reclaim the inodes in them. Even if the filesystem is
1112 * corrupted, we still want to try to reclaim all the inodes. If we don't,
1113 * then a shut down during filesystem unmount reclaim walk leak all the
1116 * Returns non-zero if any AGs or inodes were skipped in the reclaim pass
1217 * reclaim. We want as many clean inodes ready to reclaim as possible, so we
1219 * minimise the amount of work memory reclaim has to do so we kick the
1220 * background reclaim if it isn't already scheduled.
1237 * the shrinker to determine how much to reclaim.
1330 * This is a fast pass over the inode cache to try to get reclaim moving on as