Here's v2 of the log recovery delay instrumentation set. v1 is available
here:
http://oss.sgi.com/archives/xfs/2014-08/msg00276.html
After a brief conversation with Dave, we thought it best to tie in this
functionality with DEBUG mode to express/ensure that these attributes
are for debugging/hacking purposes only. Everything else should be
equivalent to v1.
Brian
v2:
- Enable /sys/fs/xfs/debug for DEBUG mode kernels only.
v1: http://oss.sgi.com/archives/xfs/2014-08/msg00276.html
Brian Foster (2):
xfs: add debug sysfs attribute set
xfs: export log_recovery_delay to delay mount time log recovery
fs/xfs/xfs_globals.c | 4 +++
fs/xfs/xfs_log_recover.c | 12 ++++++++
fs/xfs/xfs_super.c | 23 +++++++++++++--
fs/xfs/xfs_sysctl.h | 5 ++++
fs/xfs/xfs_sysfs.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++
fs/xfs/xfs_sysfs.h | 1 +
6 files changed, 117 insertions(+), 2 deletions(-)
--
1.8.3.1
|