From: Trond Myklebust <trondmy@primarydata.com>
To: "hch@infradead.org" <hch@infradead.org>,
bcodding redhat <bcodding@redhat.com>
Cc: "fstests@vger.kernel.org" <fstests@vger.kernel.org>,
"Anna.Schumaker@Netapp.com" <Anna.Schumaker@Netapp.com>,
"smayhew@redhat.com" <smayhew@redhat.com>,
"chuck.lever@oracle.com" <chuck.lever@oracle.com>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH xfstests] generic/035: Override output for NFS testing
Date: Tue, 3 Apr 2018 12:02:21 +0000 [thread overview]
Message-ID: <1522756939.3428.4.camel@primarydata.com> (raw)
In-Reply-To: <20180403094540.GA2254@infradead.org>
On Tue, 2018-04-03 at 02:45 -0700, Christoph Hellwig wrote:
> On Thu, Mar 29, 2018 at 11:34:39AM -0400, Benjamin Coddington wrote:
> > We'd like to run generic tests for NFS, but often have slightly
> > different
> > output for our results. One instance is that for the NFS client
> > the
> > removal of an open file or directory is handled differently than
> > for a
> > local filesystem. We can expect nlink to be 1 for files, and to
> > receive
> > -ESTALE for operations on deleted directories, isn't that silly?
>
> NFS is simply buggy in this case, and we should at least xfail the
> test
> case, not make it look fine.
>
> I'd rather have a file that lists expected fails per file system with
> an
> explanation than a hack like this that papers over the issue.
IIRC that ESTALE test is hitting a protocol issue: NFS doesn't have
stateful readdir() (or any stateful directory operations), and so there
is nothing to tell the server to pin the removed directory while we
have it open in the VFS layer on the client.
I'm fine either way, but if we make the decision to call out protocol
issues as 'expected failure' then we need to make that a consistent
policy for all xfstests.
--
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@primarydata.com
WARNING: multiple messages have this Message-ID (diff)
From: Trond Myklebust <trondmy@primarydata.com>
To: "hch@infradead.org" <hch@infradead.org>,
bcodding redhat <bcodding@redhat.com>
Cc: "fstests@vger.kernel.org" <fstests@vger.kernel.org>,
"Anna.Schumaker@Netapp.com" <Anna.Schumaker@Netapp.com>,
"smayhew@redhat.com" <smayhew@redhat.com>,
"chuck.lever@oracle.com" <chuck.lever@oracle.com>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH xfstests] generic/035: Override output for NFS testing
Date: Tue, 3 Apr 2018 12:02:21 +0000 [thread overview]
Message-ID: <1522756939.3428.4.camel@primarydata.com> (raw)
In-Reply-To: <20180403094540.GA2254@infradead.org>
T24gVHVlLCAyMDE4LTA0LTAzIGF0IDAyOjQ1IC0wNzAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90
ZToNCj4gT24gVGh1LCBNYXIgMjksIDIwMTggYXQgMTE6MzQ6MzlBTSAtMDQwMCwgQmVuamFtaW4g
Q29kZGluZ3RvbiB3cm90ZToNCj4gPiBXZSdkIGxpa2UgdG8gcnVuIGdlbmVyaWMgdGVzdHMgZm9y
IE5GUywgYnV0IG9mdGVuIGhhdmUgc2xpZ2h0bHkNCj4gPiBkaWZmZXJlbnQNCj4gPiBvdXRwdXQg
Zm9yIG91ciByZXN1bHRzLiAgT25lIGluc3RhbmNlIGlzIHRoYXQgZm9yIHRoZSBORlMgY2xpZW50
DQo+ID4gdGhlDQo+ID4gcmVtb3ZhbCBvZiBhbiBvcGVuIGZpbGUgb3IgZGlyZWN0b3J5IGlzIGhh
bmRsZWQgZGlmZmVyZW50bHkgdGhhbg0KPiA+IGZvciBhDQo+ID4gbG9jYWwgZmlsZXN5c3RlbS4g
IFdlIGNhbiBleHBlY3QgbmxpbmsgdG8gYmUgMSBmb3IgZmlsZXMsIGFuZCB0bw0KPiA+IHJlY2Vp
dmUNCj4gPiAtRVNUQUxFIGZvciBvcGVyYXRpb25zIG9uIGRlbGV0ZWQgZGlyZWN0b3JpZXMsIGlz
bid0IHRoYXQgc2lsbHk/DQo+IA0KPiBORlMgaXMgc2ltcGx5IGJ1Z2d5IGluIHRoaXMgY2FzZSwg
YW5kIHdlIHNob3VsZCBhdCBsZWFzdCB4ZmFpbCB0aGUNCj4gdGVzdA0KPiBjYXNlLCBub3QgbWFr
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override output for NFS testing Benjamin Coddington
2018-03-30 14:41 ` Anna Schumaker
2018-03-30 14:41 ` Anna Schumaker
2018-04-03 9:03 ` Eryu Guan
2018-04-03 9:45 ` Christoph Hellwig
2018-04-03 12:02 ` Trond Myklebust [this message]
2018-04-03 12:02 ` Trond Myklebust
2018-04-03 12:10 ` Benjamin Coddington
2018-04-03 12:25 ` Christoph Hellwig
2018-04-03 12:36 ` Benjamin Coddington
2018-04-03 14:48 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1522756939.3428.4.camel@primarydata.com \
--to=trondmy@primarydata.com \
--cc=Anna.Schumaker@Netapp.com \
--cc=bcodding@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=hch@infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=smayhew@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.