diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-21 02:54:47 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-28 03:23:20 +0200 |
commit | c684010115221978b17968dbddc8e31a09da85e7 (patch) | |
tree | d54d400178c72c7014718a92b511bd6063ffe345 /fs/xfs/xfs_mount.h | |
parent | xfs: make errortag a per-mountpoint structure (diff) | |
download | linux-c684010115221978b17968dbddc8e31a09da85e7.tar.xz linux-c684010115221978b17968dbddc8e31a09da85e7.zip |
xfs: expose errortag knobs via sysfs
Creates a /sys/fs/xfs/$dev/errortag/ directory to control the errortag
values directly. This enables us to control the randomness values,
rather than having to accept the defaults.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/xfs/xfs_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index e002ac52a4e6..931e9fc21a1c 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h @@ -204,6 +204,7 @@ typedef struct xfs_mount { * error triggers. 1 = always, 2 = half the time, etc. */ unsigned int *m_errortag; + struct xfs_kobj m_errortag_kobj; /* * DEBUG mode instrumentation to test and/or trigger delayed allocation |