summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/xfs.rst
diff options
context:
space:
mode:
authorDonald Douwsma <ddouwsma@redhat.com>2023-02-08 19:59:56 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-02-10 05:36:17 +0300
commit167ce4cbfa370114fee61ad5b58e401d95e2d5cd (patch)
tree90c95038e347584381ab0a7106372ad33dab93d4 /Documentation/admin-guide/xfs.rst
parentc85007e2e3942da1f9361e4b5a9388ea3a8dcc5b (diff)
downloadlinux-167ce4cbfa370114fee61ad5b58e401d95e2d5cd.tar.xz
xfs: allow setting full range of panic tags
xfs will not allow combining other panic masks with XFS_PTAG_VERIFIER_ERROR. # sysctl fs.xfs.panic_mask=511 sysctl: setting key "fs.xfs.panic_mask": Invalid argument fs.xfs.panic_mask = 511 Update to the maximum value that can be set to allow the full range of masks. Do this using a mask of possible values to prevent this happening again as suggested by Darrick. Fixes: d519da41e2b7 ("xfs: Introduce XFS_PTAG_VERIFIER_ERROR panic mask") Signed-off-by: Donald Douwsma <ddouwsma@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/xfs.rst')
-rw-r--r--Documentation/admin-guide/xfs.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/xfs.rst b/Documentation/admin-guide/xfs.rst
index 8de008c0c5ad..e2561416391c 100644
--- a/Documentation/admin-guide/xfs.rst
+++ b/Documentation/admin-guide/xfs.rst
@@ -296,7 +296,7 @@ The following sysctls are available for the XFS filesystem:
XFS_ERRLEVEL_LOW: 1
XFS_ERRLEVEL_HIGH: 5
- fs.xfs.panic_mask (Min: 0 Default: 0 Max: 256)
+ fs.xfs.panic_mask (Min: 0 Default: 0 Max: 511)
Causes certain error conditions to call BUG(). Value is a bitmask;
OR together the tags which represent errors which should cause panics: