Skip to contentSkip to conversation

Please pull NFS client bugfixes...

GIT PULL Trond Myklebust 1 participant 1 message May 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull from the "bugfixes" branch of the repository at

git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git bugfixes

This will update the following files through the appended changesets.

Cheers,
Trond

----

 fs/nfs/dir.c          |    1 +
 fs/nfs/write.c        |   20 ++++++++++++++++----
 net/sunrpc/xprtsock.c |   29 ++++++++++++++++++-----------
 3 files changed, 35 insertions(+), 15 deletions(-)

commit 0522f6adedd2736cbca3c0e16ca51df668993eee

Author: Trond Myklebust <[email protected]>
Date:   Wed May 26 08:42:24 2010 -0400

NFS: Fix another nfs_wb_page() deadlock

J.R. Okajima reports that the call to sync_inode() in nfs_wb_page() can deadlock with other writeback flush calls. It boils down to the fact that we cannot ever call writeback_single_inode() while holding a page lock (even if we do set nr_to_write to zero) since another process may already be waiting in the call to do_writepages(), and so will deny us the I_SYNC lock.

commit c5efa5fc91f1f6d1d47e65f39e7ec6d1157c777d

Author: Trond Myklebust <[email protected]>
Date:   Wed May 26 08:42:11 2010 -0400

NFS: Ensure that we mark the inode as dirty if we exit early from commit

If we exit from nfs_commit_inode() without ensuring that the COMMIT rpc call has been completed, we must re-mark the inode as dirty. Otherwise, future calls to sync_inode() with the WB_SYNC_ALL flag set will fail to ensure that the data is on the disk.

commit 59844a9bd73e084b0ffefc0e13226098e28c71ad

Author: Trond Myklebust <[email protected]>
Date:   Wed May 26 08:42:24 2010 -0400

NFS: Fix a lock imbalance typo in nfs_access_cache_shrinker

Commit 9c7e7e23371e629dbb3b341610a418cdf1c19d91 (NFS: Don't call iput() in nfs_access_cache_shrinker) unintentionally removed the spin unlock for the inode->i_lock.

commit 0a68b0bed08eeb7ec62e0125f17856b1ccb1ea4b

Author: J. Bruce Fields <[email protected]>
Date:   Wed May 26 08:42:24 2010 -0400

sunrpc: fix leak on error on socket xprt setup

Also collect exit code together while we're at it.