All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3]: pnfs: fix pnfs lock inversion
@ 2011-01-31 15:27 Fred Isaman
  2011-01-31 15:27 ` [PATCH 1/3] pnfs: avoid incorrect use of layout stateid Fred Isaman
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ 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] 16+ messages in thread
* [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
  0 siblings, 1 reply; 16+ 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] 16+ messages in thread

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

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 15:27 [PATCH 0/3]: pnfs: fix pnfs lock inversion Fred Isaman
2011-01-31 15:27 ` [PATCH 1/3] pnfs: avoid incorrect use of layout stateid Fred Isaman
2011-02-01 15:38   ` Benny Halevy
2011-02-01 16:31     ` Fred Isaman
2011-02-02  4:19       ` Benny Halevy
2011-02-02  5:56         ` Trond Myklebust
2011-02-03  8:15           ` Benny Halevy
2011-02-02 15:45         ` Fred Isaman
2011-02-03  8:17           ` Benny Halevy
2011-01-31 15:27 ` [PATCH 2/3] pnfs: do not need to clear NFS_LAYOUT_BULK_RECALL flag 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
  -- strict thread matches above, loose matches on Subject: below --
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.