Re: dm-multipath and write request ordering

From: Bart Van Assche
Date: Tue Apr 14 2009 - 04:18:16 EST


On Tue, Apr 14, 2009 at 9:16 AM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> Bart Van Assche <bart.vanassche@xxxxxxxxx> writes:
>> - Is it correct that round-robin load balancing can only work
>> correctly in such a setup with proper support for write barriers in
>> the device mapper ?
>
> No opinion on that one.

What I'm worried about is that write requests that have been passed to
dm_mp could arrive in another order at the target because of the
variable transport time of protocols like TCP/IP. This could cause
newer data to be overwritten by older data. Separating those write
requests by a barrier won't help because dm_mp ignores barriers.

Bart.
--
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/