xfs
[Top] [All Lists]

Re: panic on 4.20 server exporting xfs filesystem

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: panic on 4.20 server exporting xfs filesystem
From: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Date: Mon, 16 Mar 2015 10:27:21 -0400
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, linux-nfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20150315125821.GA10655@xxxxxx>
References: <20150303221033.GB19439@xxxxxxxxxxxx> <20150315125821.GA10655@xxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Mar 15, 2015 at 01:58:21PM +0100, Christoph Hellwig wrote:
> On Tue, Mar 03, 2015 at 05:10:33PM -0500, J. Bruce Fields wrote:
> > I'm getting mysterious crashes on a server exporting an xfs filesystem.
> 
> Can you shared the setup used to reproduce the various issues in this thread?

Server and client are both kvm guests.  I'm running xfstests with a
bunch of known-to-fail tests excluded:

        cat >/etc/xfsqa.config <<EOF
        TEST_DIR=/mnt
        TEST_DEV=$server:/exports/xfs2
        NFS_MOUNT_OPTIONS="-overs=4.1"
        EOF
        ./check -nfs -g auto -E ~/xfstests-skip

where xfs-tests-skip is:

        generic/003 generic/004 generic/008 generic/009 generic/010
        generic/012 generic/015 generic/016 generic/018 generic/020 generic/021
        generic/022
        generic/024 generic/025 generic/026 generic/027 generic/030 generic/034
        generic/036 generic/038 generic/039 generic/040 generic/041 generic/070
        generic/076 generic/077 generic/079 generic/083 generic/093 generic/097
        generic/099 generic/112 generic/113 generic/123 generic/125 generic/128
        generic/192 generic/193 generic/198 generic/204 generic/207 generic/208
        generic/209 generic/210 generic/211 generic/212 generic/213 generic/214
        generic/219 generic/223 generic/224 generic/226 generic/228 generic/230
        generic/231 generic/232 generic/233 generic/234 generic/235 generic/237
        generic/239 generic/240 generic/241 generic/255 generic/256 generic/260
        generic/269 generic/270 generic/273 generic/274 generic/275 generic/280
        generic/288 generic/299 generic/300 generic/311 generic/312 generic/314
        generic/315 generic/316 generic/317 generic/318 generic/319 generic/320
        generic/321 generic/322 generic/323 generic/324 generic/325 shared/006
        shared/032 shared/051 shared/272 shared/289 shared/298

Kernel is 26cbcc77df, from

        git://linux-nfs.org/~bfields/linux-topics.git for-4.0-incoming

(just upstream 6587457b4b3 plus your fix for layout_fail recursion).

I have another exported xfs filesystem on this server that's on a device
shared with the client, but this filesystem isn't.

Config has basically all the NFS stuff turned on (including NFSD_PNFS).

Gory details in an ugly pile of shell scripts at
git://linux-nfs.org/~bfields/testd.git.

> I've been trying ot get a baseline, but even withotu CONFIG_NFSD_PNFS set
> I start to run into other prolems early on, so I suspect the reproducer might
> be something else?

What other problems?

--b.

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