linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] nfs_page_group_lock cleanup
@ 2014-08-08 15:00 Weston Andros Adamson
  2014-08-08 15:00 ` [PATCH 1/5] nfs: change nfs_page_group_lock argument Weston Andros Adamson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Weston Andros Adamson @ 2014-08-08 15:00 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs, Weston Andros Adamson

These patches clean up some issues surrouding nfs_page_group_lock:

 - normalize wait/nonblock argument
 - make nonblocking calls really nonblocking
 - handle errors
 - ensure that we don't call blocking nfs_page_group_lock when holding the
   inode spinlock

This cleanup was inspired by Fengguang Wu's report that we were sleeping with
locks held in nfs_lock_and_join_requests.

Weston Andros Adamson (5):
  nfs: change nfs_page_group_lock argument
  nfs: fix nonblocking calls to nfs_page_group_lock
  nfs: use blocking page_group_lock in add_request
  nfs: fix error handling in lock_and_join_requests
  nfs: don't sleep with inode lock in lock_and_join_requests

 fs/nfs/pagelist.c        | 59 ++++++++++++++++++++++++++++++------------------
 fs/nfs/write.c           | 21 +++++++++++++----
 include/linux/nfs_page.h |  1 +
 3 files changed, 55 insertions(+), 26 deletions(-)

-- 
1.8.5.2 (Apple Git-48)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-08 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08 15:00 [PATCH 0/5] nfs_page_group_lock cleanup Weston Andros Adamson
2014-08-08 15:00 ` [PATCH 1/5] nfs: change nfs_page_group_lock argument Weston Andros Adamson
2014-08-08 15:00 ` [PATCH 2/5] nfs: fix nonblocking calls to nfs_page_group_lock Weston Andros Adamson
2014-08-08 15:00 ` [PATCH 3/5] nfs: use blocking page_group_lock in add_request Weston Andros Adamson
2014-08-08 15:00 ` [PATCH 4/5] nfs: fix error handling in lock_and_join_requests Weston Andros Adamson
2014-08-08 15:00 ` [PATCH 5/5] nfs: don't sleep with inode lock " Weston Andros Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).