[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161013130836.GA16445@yogzotot>
Date: Thu, 13 Oct 2016 16:08:37 +0300
From: Anatoly Pugachev <matorola@...il.com>
To: Theodore Ts'o <tytso@....edu>
Cc: Jens Axboe <axboe@...com>, Dave Chinner <david@...morbit.com>,
linux-ext4@...r.kernel.org, fstests@...r.kernel.org,
tarasov@...ily.name
Subject: Re: Test generic/299 stalling forever
On Wed, Oct 12, 2016 at 10:15:52PM -0400, Theodore Ts'o wrote:
> On Wed, Oct 12, 2016 at 03:19:25PM -0600, Jens Axboe wrote:
> >
> > FWIW, this is the commit that fixes it:
> >
> > commit 39d13e67ef1f4b327c68431f8daf033a03920117
> > Author: Jens Axboe <axboe@...com>
> > Date: Fri Aug 26 14:39:30 2016 -0600
> >
> > backend: check if we need to update rusage stats, if stat_mutex is busy
> >
> > 2.14 and newer should not have the problem, but earlier versions may
> > depending on how old...
>
> Unfortunately, I'm still seeing hangs in generic/299 with the latest version of fio:
>
> fio fio-2.14-10-g0a301e9 (Fri, 23 Sep 2016 11:57:00 -0600)
>
> If I use an older fio, it reliably does not hang. What can I do to
> help debug this?
>
> As I said, I can attach to the hanging fio using a gdb and give you
> stackdumps for all of the threads if that would be helpful.
I don't have git fio hangs on 299 (just a lot of "fallocate: No space left on
device" in results/generic/299.full):
# fio -v
fio-2.14-27-gafd2c
# mount tmpfs -t tmpfs -o size=26g /ramdisk/
# fallocate -l 12g /ramdisk/testvol1 && losetup -f /ramdisk/testvol1
# fallocate -l 12g /ramdisk/scratch0 && losetup -f /ramdisk/scratch0
root@...p:/home/mator/xfstests-dev# cat local.config
export TEST_DEV=/dev/loop0
export TEST_DIR=/testvol
export SCRATCH_DEV_POOL="/dev/loop1"
#export SCRATCH_DEV_POOL="/dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3"
export SCRATCH_MNT=/mnt/scratch
# mkfs.xfs -f /dev/loop0
meta-data=/dev/loop0 isize=512 agcount=4, agsize=786432 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0, rmapbt=0
data = bsize=4096 blocks=3145728, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=2560, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
root@...p:/home/mator/xfstests-dev# ./check generic/299
FSTYP -- xfs (non-debug)
PLATFORM -- Linux/sparc64 ttip 4.8.0+
MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
generic/299 103s
Ran: generic/299
Passed all 1 tests
kernel logs:
$ journalctl -k -e
Oct 13 15:35:41 ttip unknown: run fstests generic/299 at 2016-10-13 15:35:41
Oct 13 15:35:41 ttip kernel: XFS (loop1): Unmounting Filesystem
Oct 13 15:35:42 ttip kernel: XFS (loop1): Mounting V5 Filesystem
Oct 13 15:35:42 ttip kernel: XFS (loop1): Ending clean mount
Oct 13 15:37:24 ttip kernel: XFS (loop1): Unmounting Filesystem
Oct 13 15:37:25 ttip kernel: XFS (loop0): Unmounting Filesystem
results/generic/299.full in attachment
Download attachment "299.full.gz" of type "application/x-gzip" (3351 bytes)
Powered by blists - more mailing lists