xfs: consolidate the eofblocks and cowblocks workers
Remove the separate cowblocks work items and knob so that we can control and run everything from a single blockgc work queue. Note that the speculative_prealloc_lifetime sysfs knob retains its historical name even though the functions move to prefix xfs_blockgc_*. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -98,8 +98,7 @@ typedef __u32 xfs_nlink_t;
|
||||
#define xfs_rotorstep xfs_params.rotorstep.val
|
||||
#define xfs_inherit_nodefrag xfs_params.inherit_nodfrg.val
|
||||
#define xfs_fstrm_centisecs xfs_params.fstrm_timer.val
|
||||
#define xfs_eofb_secs xfs_params.eofb_timer.val
|
||||
#define xfs_cowb_secs xfs_params.cowb_timer.val
|
||||
#define xfs_blockgc_secs xfs_params.blockgc_timer.val
|
||||
|
||||
#define current_cpu() (raw_smp_processor_id())
|
||||
#define current_set_flags_nested(sp, f) \
|
||||
|
||||
Reference in New Issue
Block a user