Re: [PATCH] Fix commit of ordered data buffers

From: Stephen C. Tweedie
Date: Wed Sep 14 2005 - 08:02:48 EST


Hi,

On Wed, 2005-09-14 at 02:43, Andrew Morton wrote:

> An alternative is to just lock the buffer in journal_commit_transaction(),
> if it was locked-and-dirty.

That was my first reaction too. We're using SWRITE so we'll end up
locking them anyway; and if synchronising against other lockers is an
issue, then locking them ourselves early is the obvious protection.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/