]> rtime.felk.cvut.cz Git - zynq/linux.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)
commite824f99adaaf1ed0e03eac8574599af6d992163d
treec5d2716566d21f023bd278dae6a92a06cbe72816
parentb30d2f04c35d539bf8003b3e014c389abefc249b
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