Matthew Wilcox
d748c62367
[XFS] Convert l_flushsema to a sv_t
...
The l_flushsema doesn't exactly have completion semantics, nor mutex
semantics. It's used as a list of tasks which are waiting to be notified
that a flush has completed. It was also being used in a way that was
potentially racy, depending on the semaphore implementation.
By using a sv_t instead of a semaphore we avoid the need for a separate
counter, since we know we just need to wake everything on the queue.
Original waitqueue implementation from Matthew Wilcox. Cleanup and
conversion to sv_t by Christoph Hellwig.
SGI-PV: 981507
SGI-Modid: xfs-linux-melb:xfs-kern:31059a
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-07-28 16:58:12 +10:00
..
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:14 -04:00
2008-07-24 10:47:33 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:34 -04:00
2008-07-17 15:21:29 -07:00
2008-07-21 21:54:59 -07:00
2008-07-25 10:53:47 -07:00
2008-07-26 20:53:31 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:27 -04:00
2008-07-26 20:53:21 -04:00
2008-07-26 20:53:36 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:13 -04:00
2008-07-26 20:53:07 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:32 -07:00
2008-07-26 20:30:56 -07:00
2008-07-26 20:53:14 -04:00
2008-07-25 10:53:47 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-07-27 18:20:51 -04:00
2008-07-26 20:53:42 -04:00
2008-07-26 20:53:16 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:44 -07:00
2008-07-27 16:12:28 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:42 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-28 16:58:12 +10:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-07-26 20:53:28 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-24 10:47:27 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:06 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 12:00:02 -07:00
2008-07-26 12:00:06 -07:00
2008-07-25 10:53:35 -07:00
2008-07-24 10:47:29 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:41 -04:00
2008-07-26 20:53:45 -04:00
2008-07-26 20:53:06 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:45 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 12:00:05 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:05 -07:00
2008-07-26 20:53:41 -04:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:45 -04:00
2008-07-26 20:53:06 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:16 -04:00
2008-07-26 20:53:34 -04:00
2008-07-24 10:47:15 -07:00
2008-07-24 10:47:17 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00