Linux NFS development
 help / color / mirror / Atom feed
* RCU caching regression in kernel v4.1+
@ 2015-10-07 18:57 Trond Myklebust
  2015-10-08 12:54 ` Trond Myklebust
  0 siblings, 1 reply; 9+ messages in thread
From: Trond Myklebust @ 2015-10-07 18:57 UTC (permalink / raw)
  To: Alexander Viro; +Cc: Linux NFS Mailing List, lawa, Linux FS-devel Mailing List

Hi Al,

Please could you take a look at the bugzilla entry in
https://bugzilla.kernel.org/show_bug.cgi?id=104911 ?

It describes a NFS caching regression that appears to be caused by
commit 766c4cbfacd8634d7580bac6a1b8456e63de3e84 ("namei:
d_is_negative() should be checked before ->d_seq validation").

Shouldn't that test for 'if (negative) return -ENOENT;' happen after
the call to d_revalidate() in lookup_fast()? If not, we can end up
caching negative dentries forever, AFAICS...

Cheers
  Trond

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

end of thread, other threads:[~2015-10-10 17:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 18:57 RCU caching regression in kernel v4.1+ Trond Myklebust
2015-10-08 12:54 ` Trond Myklebust
2015-10-08 17:28   ` Leandro Awa
2015-10-09  0:01   ` Leandro Awa
2015-10-09 17:44     ` [PATCH] namei: results of d_is_negative() should be checked after dentry revalidation Trond Myklebust
2015-10-10  0:19       ` Linus Torvalds
2015-10-10  1:36         ` Al Viro
2015-10-10 17:13           ` Al Viro
2015-10-10 17:19             ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox