mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Report on whether XFS was built debug or not for XFS benchmark runs
This commit is contained in:
@@ -165,6 +165,13 @@ rm -f bench.* results.*
|
||||
_full_fstyp_details()
|
||||
{
|
||||
[ -z "$FSTYP" ] && FSTYP=xfs
|
||||
if [ $FSTYP = xfs ]; then
|
||||
if grep 'debug 0' /proc/fs/xfs/stat >/dev/null; then
|
||||
FSTYP="$FSTYP (non-debug)"
|
||||
elif grep 'debug 1' /proc/fs/xfs/stat >/dev/null; then
|
||||
FSTYP="$FSTYP (debug)"
|
||||
fi
|
||||
fi
|
||||
echo $FSTYP
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user