Re: [PATCH 1/6] Extend completions to provide XFS object flush requirements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Chinner
Date: Thursday, June 26, 2008 - 6:02 am

On Thu, Jun 26, 2008 at 06:40:09AM -0600, Matthew Wilcox wrote:

Or shouldn't be semaphores in the first place?


Not that I can see.


Yes, certainly. But as should be obvious by now completions don't
quite fit the bill for XFS - they only work for *synchronisation*
after the I/O. XFS needs *exclusion* during the I/O as well as
*synchronisation* after the I/O. The completion extensions provided the
exclusion part of the deal. How else do you suggest I implement
this?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/6] Remove most users of semaphores from XFS., Dave Chinner, (Wed Jun 25, 9:41 pm)
[PATCH 5/6] Remove the sema_t from XFS., Dave Chinner, (Wed Jun 25, 9:41 pm)
[PATCH 6/6] Clean up stale references to semaphores, Dave Chinner, (Wed Jun 25, 9:41 pm)
Re: [PATCH 4/6] Replace the XFS buf iodone semaphore with ..., Christoph Hellwig, (Thu Jun 26, 12:41 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Christoph Hellwig, (Thu Jun 26, 12:46 am)
Re: [PATCH 6/6] Clean up stale references to semaphores, Christoph Hellwig, (Thu Jun 26, 12:47 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Christoph Hellwig, (Thu Jun 26, 5:49 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Dave Chinner, (Thu Jun 26, 6:02 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Christoph Hellwig, (Thu Jun 26, 6:07 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Christoph Hellwig, (Fri Jun 27, 2:15 am)