[PATCH v4 0/2] NFS: ALLOCATE and DEALLOCATE improvemnts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches make a few tweaks that improve the performance of ALLOCATE
and DEALLOCATE requests.  The first patch attempts to update cache
information after a (DE)ALLOCATE call, rather than clearing the cache and
forcing the client to re-read the file later.  The second patch changes
when we lock the i_mutex to give NFS v4.0 and v4.1 a chance to exit without
taking a lock.

Comments are appreciated!

Anna


Anna Schumaker (2):
  NFS: Don't zap caches on fallocate()
  NFS: Reduce time spent holding the i_mutex during fallocate()

 fs/nfs/inode.c          |  1 -
 fs/nfs/nfs42proc.c      | 31 +++++++++++++++++++++++++++----
 fs/nfs/nfs42xdr.c       | 20 ++++++++++++++++----
 fs/nfs/nfs4file.c       | 10 ++--------
 include/linux/nfs_xdr.h |  4 ++++
 5 files changed, 49 insertions(+), 17 deletions(-)

-- 
2.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux