Skip to content

Commit c0a5c40

Browse files
Zizhi Wocmaiolino
authored andcommitted
xfs: Remove deprecated xfs_bufd sysctl parameters
Commit 64af7a6 ("xfs: remove deprecated sysctls") removed the deprecated xfsbufd-related sysctl interface, but forgot to delete the corresponding parameters: "xfs_buf_timer" and "xfs_buf_age". This patch removes those parameters and makes no other changes. Signed-off-by: Zizhi Wo <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
1 parent ea31bde commit c0a5c40

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

fs/xfs/xfs_globals.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ xfs_param_t xfs_params = {
2323
.inherit_sync = { 0, 1, 1 },
2424
.inherit_nodump = { 0, 1, 1 },
2525
.inherit_noatim = { 0, 1, 1 },
26-
.xfs_buf_timer = { 100/2, 1*100, 30*100 },
27-
.xfs_buf_age = { 1*100, 15*100, 7200*100},
2826
.inherit_nosym = { 0, 0, 1 },
2927
.rotorstep = { 1, 1, 255 },
3028
.inherit_nodfrg = { 0, 1, 1 },

fs/xfs/xfs_sysctl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ typedef struct xfs_param {
2929
xfs_sysctl_val_t inherit_sync; /* Inherit the "sync" inode flag. */
3030
xfs_sysctl_val_t inherit_nodump;/* Inherit the "nodump" inode flag. */
3131
xfs_sysctl_val_t inherit_noatim;/* Inherit the "noatime" inode flag. */
32-
xfs_sysctl_val_t xfs_buf_timer; /* Interval between xfsbufd wakeups. */
33-
xfs_sysctl_val_t xfs_buf_age; /* Metadata buffer age before flush. */
3432
xfs_sysctl_val_t inherit_nosym; /* Inherit the "nosymlinks" flag. */
3533
xfs_sysctl_val_t rotorstep; /* inode32 AG rotoring control knob */
3634
xfs_sysctl_val_t inherit_nodfrg;/* Inherit the "nodefrag" inode flag. */

0 commit comments

Comments
 (0)