[Top] [All Lists]

TAKE - Implement xfs_panic_mask

Subject: TAKE - Implement xfs_panic_mask
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Thu, 24 Oct 2002 15:18:34 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
This might help diagnose some force shutdown scenarios...

There is now a /proc/sys/fs/xfs/panic_mask sysctl which can be
set with this bitmask:

#define         XFS_NO_PTAG                     0LL
#define         XFS_PTAG_IFLUSH                 0x0000000000000001LL
#define         XFS_PTAG_LOGRES                 0x0000000000000002LL
#define         XFS_PTAG_AILDELETE              0x0000000000000004LL
#define         XFS_PTAG_AVAILABLE              0x0000000000000008LL
#define         XFS_PTAG_SHUTDOWN_CORRUPT       0x0000000000000010LL
#define         XFS_PTAG_SHUTDOWN_IOERROR       0x0000000000000020LL
#define         XFS_PTAG_SHUTDOWN_LOGERROR      0x0000000000000040LL

this will cause various things that would normally just be errors
to BUG(), from which we can get a backtrace.

Implement xfs_panic_mask

Date:  Thu Oct 24 13:18:15 PDT 2002

The following file(s) were checked into:

Modid:  2.4.x-xfs:slinx:131027a
linux/fs/xfs/xfs_rw.c - 1.368
        - hook forced shutdown into panic_mask handling

linux/fs/xfs/xfs_error.c - 1.36
linux/fs/xfs/xfs_error.h - 1.28
        - define more panic tags for force shutdown

linux/fs/xfs/linux/xfs_globals.c - 1.39
linux/fs/xfs/linux/xfs_linux.h - 1.91
        - #define xfs_panic_mask as a sysctl parameter

linux/fs/xfs/linux/xfs_sysctl.c - 1.12
        - set up xfs_panic_mask sysctl

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Implement xfs_panic_mask, Eric Sandeen <=