xfs
[Top] [All Lists]

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inode

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Thu, 20 Aug 2015 22:37:35 +0800
Cc: Tejun Heo <tj@xxxxxxxxxx>, Jens Axboe <axboe@xxxxxxxxx>, Jan Kara <jack@xxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, axboe@xxxxxx, Jan Kara <jack@xxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, kernel-team@xxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20150820143626.GI17933@xxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20150813004435.GN3902@dastard> <20150813224415.GG4496@xxxxxxxxxxxxxxx> <20150814111408.GB8710@xxxxxxxxxxxxx> <20150817200254.GG21075@xxxxxxxxxxxxxxx> <20150818091603.GA12317@xxxxxxxxxxxxx> <20150818174718.GA15739@xxxxxxxxxxxxxxx> <20150818195439.GB15739@xxxxxxxxxxxxxxx> <20150818215611.GD3902@dastard> <20150820061224.GG17933@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20150820143626.GI17933@xxxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
On Thu, Aug 20, 2015 at 10:36:26PM +0800, Eryu Guan wrote:
> On Thu, Aug 20, 2015 at 02:12:24PM +0800, Eryu Guan wrote:
[snip]
> 
> I installed a new vm with ext4 as root fs and got some trace info.
> 
> On the new vm, only generic/048 is reproducible, generic/049 always
> passes. And I can only reproduce generic/048 when xfs tracepoints are
> enabled, if writeback tracepoints are enabled too, I can no longer
> reproduce the failure.
> 
> All tests are done on 4.2-rc7 kernel.
> 
> This is the trace-cmd I'm using:
> 
>       cd /mnt/ext4
>       trace-cmd record -e xfs_file_buffered_write \
>                        -e xfs_file_fsync \
>                        -e xfs_writepage \
>                        -e xfs_setfilesize &
>       pushd /path/to/xfstests
>       ./check generic/048
>       popd
>       kill -s 2 $!
>       trace-cmd report >trace_report.txt
> 
> I attached three files:
> 1) xfs-trace-generic-048.txt.bz2[1]   trace report result
> 2) xfs-trace-generic-048.diff         generic/048 failure diff output, could 
> know which files has incorrect size
> 3) xfs-trace-generic-048.metadump.bz2 metadump of SCRATCH_DEV, which contains 
> the test files
> 
> If more info is needed please let me know.
> 
> Thanks,
> Eryu
> 
> [1] attach this file in a following mail, to avoid xfs list 500k limit

Attached this file in this mail.

Eryu

Attachment: xfs-trace-generic-048.txt.bz2
Description: BZip2 compressed data

<Prev in Thread] Current Thread [Next in Thread>