Re: [PATCH 04/16] DRBD: bitmap

From: James Bottomley
Date: Sat May 02 2009 - 11:42:18 EST


On Thu, 2009-04-30 at 13:26 +0200, Philipp Reisner wrote:
> DRBD maintains a dirty bitmap in case it has to run without peer node or
> without local disk. Writes to the on disk dirty bitmap are minimized by the
> activity log (=AL). Each time an extent is evicted from the AL the part of
> the bitmap no longer covered by the AL is written to disk.
>
> Signed-off-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
> Signed-off-by: Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>

The way the bitmap and activity log work are very similar to the way the
md bitmap works (and are implemented for almost exactly the same
reason). Is there any way we could combine them?

James


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