linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* readdir and old cookie verifier
@ 2015-09-08 13:08 Mkrtchyan, Tigran
  2015-09-09 19:03 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Mkrtchyan, Tigran @ 2015-09-08 13:08 UTC (permalink / raw)
  To: linux-nfs


Dear NFS gurus,

we run into situation, where client gets BAD_COOKIE on a readdir.
Before I go and try to adopt our server to handle it, let me describe
the situation.

A client node (we have seen it with RHEL6 and Ubuntu 12.04, but probably
others affected as well) send a bunch of readdirs to the server. After some
time (this many be hours, days ) client sends an other set of readdirs. But
it reuses cookie verifier from the first readdir sequence. Server sends back
BAD_COOKIE, but client never starts over with a cookie and verifier being zero.
As a result, inconsistent listing and anhappy user:


[exflserv04] ~ $ ls /pnfs/desy.de/exfel/disk/LCLS/2015/RAW/XCS/xcsh8215/xtc/
ls: reading directory /pnfs/desy.de/exfel/disk/LCLS/2015/RAW/XCS/xcsh8215/xtc/: Unknown error 523

Is this behavior of the client correct?

Thanks a lot,
   Tigran.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-09 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 13:08 readdir and old cookie verifier Mkrtchyan, Tigran
2015-09-09 19:03 ` J. Bruce Fields
2015-09-09 20:10   ` Mkrtchyan, Tigran
2015-09-09 20:59     ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).