Re: [PATCH 00/16] DRBD: a block device for HA clusters
From: Lars Marowsky-Bree
Date: Mon May 04 2009 - 12:13:33 EST
On 2009-05-03T23:32:31, Lars Ellenberg <lars.ellenberg@xxxxxxxxxx> wrote:
> Which it could not be while replication link is down,
> so once replication link is back (or remote node is back,
> which is not easily distinguishable just there, blablabla),
> you'd need to fetch the remote bitmap, and merge it with the local
> bitmap (feeding it into bitmap_set_bits),
> then re-attach the "failed" mirror.
Note that this sacrifices transactional consistency on the sync target;
an understandable trade-off (versus recording the stream of writes
entirely, which consumes space and possibly more resync bandwidth), but
a noteworthy one.
> But DRBD as of now does the connection handshake and bitmap exchange in
> kernel. We wanted to have a fast compression scheme suitable for
> bitmaps, without cpu or memory overhead. This does it quite nicely.
Sharing the connection between meta- and regular data also avoids some
ordering issues between channels, which probably helps simplify some
aspects of drbd.
Conceivably, the kernel could escalate such metadata/out-of-band
communications to user-space for handling, and user-space would then
afterwards instruct the continuation of the stream processing.
> or the link has been down,
> and the remote side decided to go active with it.
That is arguably a horrible failure on behalf of the cluster stack being
used, but indeed something drbd must be able to recover from.
Regards,
Lars
--
SuSE Labs, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
--
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/