Re: Internal error xfs_trans_cancel

From: Daniel Wagner
Date: Wed Jun 01 2016 - 10:13:18 EST


>> Anything in the log before this?
>
> Just the usual stuff, as I remember. Sorry, I haven't copied the whole log.

Just triggered it again. My steps for it are:

- run all lockperf test

git://git.samba.org/jlayton/lockperf.git

via my test script:

#!/bin/sh

run_tests () {
echo $1

for i in `seq 10`;
do
rm -rf /tmp/a;
$1 /tmp/a > /dev/null
sync
done

for i in `seq 100`;
do
rm -rf /tmp/a;
$1 /tmp/a >> $2
sync
done
}


PATH=~/src/lockperf:$PATH

DIR=$1-`uname -r`
if [ ! -d "$DIR" ]; then
mkdir $DIR
fi

CPUSET=`cat /sys/devices/system/node/node0/cpulist`
taskset -pc $CPUSET $$

sudo sh -c 'for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ; do echo performance > $i ; done'

for c in `seq 8 32 128`; do
for l in `seq 100 100 500`; do
time run_tests "posix01 -n $c -l $l " $DIR/posix01-$c-$l.data
time run_tests "posix02 -n $c -l $l " $DIR/posix02-$c-$l.data
time run_tests "posix03 -n $c -l $l " $DIR/posix03-$c-$l.data
time run_tests "posix04 -n $c -l $l " $DIR/posix04-$c-$l.data
time run_tests "flock01 -n $c -l $l " $DIR/flock01-$c-$l.data
time run_tests "flock02 -n $c -l $l " $DIR/flock02-$c-$l.data
time run_tests "lease01 -n $c -l $l " $DIR/lease01-$c-$l.data
time run_tests "lease02 -n $c -l $l " $DIR/lease02-$c-$l.data
done
done

sudo sh -c 'for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ; do echo powersave > $i ; done'

And after that rebuild a new kernel. That was all.

This time I saved the logs. xfs_repair was not so happy either.

cheers,
daniel



Attachment: dmesg.log.xz
Description: application/xz

Attachment: xfs_repair.log.xz
Description: application/xz