Searched hist:a0e265bc (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | write.c | a0e265bc Mon Jul 17 09:29:32 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> NFS: Fix an ABBA issue in nfs_lock_and_join_requests()
All other callers of nfs_page_group_lock() appear to already hold the page lock on the head page, so doing it in the opposite order here is inefficient, although not deadlock prone since we roll back all locks on contention.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> a0e265bc Mon Jul 17 09:29:32 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> NFS: Fix an ABBA issue in nfs_lock_and_join_requests() All other callers of nfs_page_group_lock() appear to already hold the page lock on the head page, so doing it in the opposite order here is inefficient, although not deadlock prone since we roll back all locks on contention. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
|