xfs: rename the speculative block allocation reclaim toggle functions
"reclaim" is used throughout the icache code to mean reclamation of incore inode structures. It's also used for two helper functions that toggle background deletion of speculative preallocations. Separate the second of the two uses to make things less confusing. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -1822,7 +1822,7 @@ xfs_inode_clear_cowblocks_tag(
|
||||
|
||||
/* Disable post-EOF and CoW block auto-reclamation. */
|
||||
void
|
||||
xfs_icache_disable_reclaim(
|
||||
xfs_stop_block_reaping(
|
||||
struct xfs_mount *mp)
|
||||
{
|
||||
cancel_delayed_work_sync(&mp->m_eofblocks_work);
|
||||
@@ -1831,7 +1831,7 @@ xfs_icache_disable_reclaim(
|
||||
|
||||
/* Enable post-EOF and CoW block auto-reclamation. */
|
||||
void
|
||||
xfs_icache_enable_reclaim(
|
||||
xfs_start_block_reaping(
|
||||
struct xfs_mount *mp)
|
||||
{
|
||||
xfs_queue_eofblocks(mp);
|
||||
|
Reference in New Issue
Block a user