Home
last modified time | relevance | path

Searched hist:"648 a4548d622c4ae965058db1a6b5b95c062789a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Ddir.cdiff 648a4548d622c4ae965058db1a6b5b95c062789a Mon Mar 21 21:27:13 CDT 2022 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Don't deadlock when cookie hashes collide

In the very rare case where the readdir reply contains multiple cookies
that map to the same hash value, we can end up deadlocking waiting for a
page lock that we already hold. In this case we should fail the page
lock by using grab_cache_page_nowait().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>