public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Remove most users of semaphores from XFS V2.
@ 2008-06-27  8:44 Dave Chinner
  2008-06-27  8:44 ` [PATCH 1/6] Clean up stale references to semaphores Dave Chinner
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dave Chinner @ 2008-06-27  8:44 UTC (permalink / raw)
  To: xfs; +Cc: linux-kernel, matthew, dwalker

This series aims to convert all but one of the remaining users of
semaphores in the XFS code to use completions. Two of these
semaphores don't quite match to completion semantics, but a small
amount of additional code on top of the completions fixes this
problem. I'm open to suggestions on different/better ways to implement
this.

The patch series does not touch the b_lock semaphore in the
xfs_buf_t. At this point I'm not sure what we want to do with that
semaphore so I've ignored that for now. Also, this lock uses
linux primitives, not the xfs sema_t primitives so  it doesn't
need changing to allow me to remove the sema_t.

Version 2:
o remove "flush" based API and just add the minimum necessary
  extensions to allow counting completions to do what is needed
  by XFS.
o change XFS patches to make use of new API
o clean up the XFS APIs using the new completion API a little.

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

end of thread, other threads:[~2008-06-27  8:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-27  8:44 [PATCH 0/6] Remove most users of semaphores from XFS V2 Dave Chinner
2008-06-27  8:44 ` [PATCH 1/6] Clean up stale references to semaphores Dave Chinner
2008-06-27  8:44 ` [PATCH 2/6] Replace the XFS buf iodone semaphore with a completion Dave Chinner
2008-06-27  8:44 ` [PATCH 3/6] Extend completions to provide XFS object flush requirements Dave Chinner
2008-06-27  8:44 ` [PATCH 4/6] Replace inode flush semaphore with a completion Dave Chinner
2008-06-27  8:44 ` [PATCH 5/6] Replace dquot " Dave Chinner
2008-06-27  8:44 ` [PATCH 6/6] Remove the sema_t from XFS Dave Chinner

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