]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Use a mutex to protect the per-inode commit lists
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 15:53:49 +0000 (11:53 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commit03921957f5d0275eba1334a09faf6ea0a12c0d80
treec5d2716566d21f023bd278dae6a92a06cbe72816
parent46e3063a8960bd1ef9531a1d69bb8aa9662e668f
NFSv4: Use a mutex to protect the per-inode commit lists

The commit lists can get very large, so using the inode->i_lock can
end up affecting general metadata performance.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/direct.c
fs/nfs/inode.c
fs/nfs/pnfs_nfs.c
fs/nfs/write.c
include/linux/nfs_fs.h