Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] nfsd: avoid taking state_lock in delegation lm_break callback
@ 2014-07-14 13:13 Jeff Layton
  2014-07-14 13:13 ` [PATCH 1/2] nfsd: eliminate nfsd4_init_callback Jeff Layton
  2014-07-14 13:13 ` [PATCH 2/2] nfsd: Avoid taking state_lock while holding inode lock in nfsd_break_one_deleg Jeff Layton
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Layton @ 2014-07-14 13:13 UTC (permalink / raw)
  To: bfields; +Cc: hch, linux-nfs

In the interest of pushing this series out in smaller pieces, these two
patches clean up the delegation break callback. The basic idea here is
to avoid taking the state_lock while holding the i_lock, as it's a
highly contended global lock.

Jeff Layton (2):
  nfsd: eliminate nfsd4_init_callback
  nfsd: Avoid taking state_lock while holding inode lock in
    nfsd_break_one_deleg

 fs/nfsd/nfs4callback.c | 23 +++++++++++++++-----
 fs/nfsd/nfs4state.c    | 58 +++++++++++++++++++++++++++++++++-----------------
 fs/nfsd/state.h        |  4 +++-
 3 files changed, 59 insertions(+), 26 deletions(-)

-- 
1.9.3


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

end of thread, other threads:[~2014-07-14 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 13:13 [PATCH 0/2] nfsd: avoid taking state_lock in delegation lm_break callback Jeff Layton
2014-07-14 13:13 ` [PATCH 1/2] nfsd: eliminate nfsd4_init_callback Jeff Layton
2014-07-14 13:13 ` [PATCH 2/2] nfsd: Avoid taking state_lock while holding inode lock in nfsd_break_one_deleg Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox