[PATCH 4/4] xfs: fix the logspace waiting algorithm
Christoph Hellwig
hch at infradead.org
Thu Dec 1 01:21:49 CST 2011
On Wed, Nov 30, 2011 at 05:56:41PM -0600, Ben Myers wrote:
> Christoph,
>
> I feel that the ordering of the accesses to l_grant_head and the writeq
> list may be important in the lockless path, and notice that they used to
> be in opposite order. It could use a comment explaining why (if) it is
> ok.
Do you mean moving the xlog_space_left after the first
list_empty_careful check in xlog_grant_log_space? It doesn't matter
given that we re-check the available space after each wakeup.
More information about the xfs
mailing list