linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pnfs: fix pnfs lock inversion, try 2
@ 2011-02-03 18:28 Fred Isaman
  2011-02-03 18:28 ` [PATCH 1/3] pnfs: avoid incorrect use of layout stateid Fred Isaman
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fred Isaman @ 2011-02-03 18:28 UTC (permalink / raw)
  To: linux-nfs; +Cc: Trond Myklebust

Changes from previous version:
- fix PATCH 1 to avoid introducing race in pnfs_destroy_layout with LAYOUTGET
- refactor PATCH 3 per Benny's suggestion


These fix the incorrect lock order used throughout the pnfs code. We
first simplify the logic (and in the process squash a few bugs), then
rearrange the code so we never have to take both i_lock and cl_lock
simultaneously.

Fred


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/3]: pnfs: fix pnfs lock inversion
@ 2011-01-31 15:27 Fred Isaman
  2011-01-31 15:27 ` [PATCH 3/3] pnfs: fix pnfs lock inversion of i_lock and cl_lock Fred Isaman
  0 siblings, 1 reply; 9+ messages in thread
From: Fred Isaman @ 2011-01-31 15:27 UTC (permalink / raw)
  To: linux-nfs; +Cc: Trond Myklebust

These fix the incorrect lock order used throughout the pnfs code.  We
first simplify the logic (and in the proces squash a few bugs), then
rearrange the code so we never have to take both i_lock and cl_lock
simultaneously.

They apply to Trond's linux-next branch.

Fred


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

end of thread, other threads:[~2011-02-03 18:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 18:28 [PATCH 0/3] pnfs: fix pnfs lock inversion, try 2 Fred Isaman
2011-02-03 18:28 ` [PATCH 1/3] pnfs: avoid incorrect use of layout stateid Fred Isaman
2011-02-03 18:28 ` [PATCH 2/3] pnfs: do not need to clear NFS_LAYOUT_BULK_RECALL flag Fred Isaman
2011-02-03 18:28 ` [PATCH 3/3] pnfs: fix pnfs lock inversion of i_lock and cl_lock Fred Isaman
  -- strict thread matches above, loose matches on Subject: below --
2011-01-31 15:27 [PATCH 0/3]: pnfs: fix pnfs lock inversion Fred Isaman
2011-01-31 15:27 ` [PATCH 3/3] pnfs: fix pnfs lock inversion of i_lock and cl_lock Fred Isaman
2011-02-01 15:41   ` Benny Halevy
2011-02-01 15:54     ` Fred Isaman
2011-02-01 16:03       ` Benny Halevy
2011-02-03  8:58   ` Benny Halevy

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).