mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	xfs: remove deprecated sysctls
xfsbufd_centisecs and age_buffer_centisecs were due for removal in 3.14. We forgot to do that - it's now well past time to remove these deprecated, unused sysctls. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
		
							parent
							
								
									aa5d95c1b5
								
							
						
					
					
						commit
						64af7a6ea5
					
				
					 2 changed files with 7 additions and 28 deletions
				
			
		| 
						 | 
					@ -348,16 +348,13 @@ The following sysctls are available for the XFS filesystem:
 | 
				
			||||||
Deprecated Sysctls
 | 
					Deprecated Sysctls
 | 
				
			||||||
==================
 | 
					==================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fs.xfs.xfsbufd_centisecs	(Min: 50  Default: 100	Max: 3000)
 | 
					None at present.
 | 
				
			||||||
	Dirty metadata is now tracked by the log subsystem and
 | 
					 | 
				
			||||||
	flushing is driven by log space and idling demands. The
 | 
					 | 
				
			||||||
	xfsbufd no longer exists, so this syctl does nothing.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Due for removal in 3.14.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fs.xfs.age_buffer_centisecs	(Min: 100  Default: 1500  Max: 720000)
 | 
					Removed Sysctls
 | 
				
			||||||
	Dirty metadata is now tracked by the log subsystem and
 | 
					===============
 | 
				
			||||||
	flushing is driven by log space and idling demands. The
 | 
					 | 
				
			||||||
	xfsbufd no longer exists, so this syctl does nothing.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Due for removal in 3.14.
 | 
					  Name				Removed
 | 
				
			||||||
 | 
					  ----				-------
 | 
				
			||||||
 | 
					  fs.xfs.xfsbufd_centisec	v3.20
 | 
				
			||||||
 | 
					  fs.xfs.age_buffer_centisecs	v3.20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -148,24 +148,6 @@ static struct ctl_table xfs_table[] = {
 | 
				
			||||||
		.extra1		= &xfs_params.inherit_noatim.min,
 | 
							.extra1		= &xfs_params.inherit_noatim.min,
 | 
				
			||||||
		.extra2		= &xfs_params.inherit_noatim.max
 | 
							.extra2		= &xfs_params.inherit_noatim.max
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		.procname	= "xfsbufd_centisecs",
 | 
					 | 
				
			||||||
		.data		= &xfs_params.xfs_buf_timer.val,
 | 
					 | 
				
			||||||
		.maxlen		= sizeof(int),
 | 
					 | 
				
			||||||
		.mode		= 0644,
 | 
					 | 
				
			||||||
		.proc_handler	= proc_dointvec_minmax,
 | 
					 | 
				
			||||||
		.extra1		= &xfs_params.xfs_buf_timer.min,
 | 
					 | 
				
			||||||
		.extra2		= &xfs_params.xfs_buf_timer.max
 | 
					 | 
				
			||||||
	},
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		.procname	= "age_buffer_centisecs",
 | 
					 | 
				
			||||||
		.data		= &xfs_params.xfs_buf_age.val,
 | 
					 | 
				
			||||||
		.maxlen		= sizeof(int),
 | 
					 | 
				
			||||||
		.mode		= 0644,
 | 
					 | 
				
			||||||
		.proc_handler	= proc_dointvec_minmax,
 | 
					 | 
				
			||||||
		.extra1		= &xfs_params.xfs_buf_age.min,
 | 
					 | 
				
			||||||
		.extra2		= &xfs_params.xfs_buf_age.max
 | 
					 | 
				
			||||||
	},
 | 
					 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		.procname	= "inherit_nosymlinks",
 | 
							.procname	= "inherit_nosymlinks",
 | 
				
			||||||
		.data		= &xfs_params.inherit_nosym.val,
 | 
							.data		= &xfs_params.inherit_nosym.val,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue