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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Walker
Date: Thursday, June 26, 2008 - 1:33 pm

On Thu, 2008-06-26 at 14:41 +1000, Dave Chinner wrote:

I think there is some basis to make the changes that you have here.
Specifically this email and thread,

http://lkml.org/lkml/2008/4/15/232

However, I don't like how your implementing this as specifically a
"flush" mechanism for XFS, and the count is limited to just 1 .. There
are several other places that do this kind of counting with semaphores,
and have counts above 1..


Above seems completely pointless.. I would just call
wait_for_completion(), and make the rest of the interface generic.

Daniel

--
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 ..., Christoph Hellwig, (Thu Jun 26, 6:07 am)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Daniel Walker, (Thu Jun 26, 1:33 pm)
Re: [PATCH 1/6] Extend completions to provide XFS object f ..., Christoph Hellwig, (Fri Jun 27, 2:15 am)