aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorGravatar Anna Schumaker <Anna.Schumaker@netapp.com> 2015-03-16 14:06:24 -0400
committerGravatar Trond Myklebust <trond.myklebust@primarydata.com> 2015-04-23 14:36:28 -0400
commitf830f7ddd9165c8bd69127458627f03df4b1a406 (patch)
treefb92b7097ce59629094ea59e0cc3a1cf0acf14be /fs/nfs/callback.c
parentNFS: Don't zap caches on fallocate() (diff)
downloadlinux-f830f7ddd9165c8bd69127458627f03df4b1a406.tar.gz
linux-f830f7ddd9165c8bd69127458627f03df4b1a406.tar.bz2
linux-f830f7ddd9165c8bd69127458627f03df4b1a406.zip
NFS: Reduce time spent holding the i_mutex during fallocate()
At the very least, we should not be taking the i_mutex until after checking if the server even supports ALLOCATE or DEALLOCATE, allowing v4.0 or v4.1 to exit without potentially waiting on a lock. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/callback.c')
0 files changed, 0 insertions, 0 deletions