Re: [PATCH] ide barrier support, #2

From: Andi Kleen
Date: Tue Oct 14 2003 - 10:08:53 EST


> Uh be careful! It must be WRITEBARRIER, not WRITESYNC. I think I'll kill
> WRITEBARRIER and just call it WRITESYNC, it's more logical. I've added
> the modified variant, thanks.

Why? The journaling just checks if the write finished and then submits
the dependent writes. It doesn't care about reordering.

As long as WRITESYNC guarantees that the data hit disk when completed
then it should be ok.

-Andi
-
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/