Re: [PATCH 02/14] DRBD: lru_cache

From: Bart Van Assche
Date: Fri Apr 10 2009 - 08:24:27 EST


On Fri, Apr 10, 2009 at 2:12 PM, Philipp Reisner
<philipp.reisner@xxxxxxxxxx> wrote:
> The lru_cache is a fixed size cache of equal sized objects. It allows its
> users to do arbitrary transactions in case an element in the cache needs to
> be replaced. Its replacement policy is LRU.
>
> Signed-off-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
> Signed-off-by: Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>
>
> ---
> diff -uNrp linux-2.6.30-rc1/drivers/block/drbd/lru_cache.h linux-2.6.30-rc1-drbd/drivers/block/drbd/lru_cache.h
> --- linux-2.6.30-rc1/drivers/block/drbd/lru_cache.h     1970-01-01 01:00:00.000000000 +0100
> +++ linux-2.6.30-rc1-drbd/drivers/block/drbd/lru_cache.h        2009-03-26 15:55:39.595134000 +0100
> @@ -0,0 +1,116 @@
> +/*
> +   lru_cache.c

A minor remark: I assume the above line should read "lru_cache.h"
instead of "lru_cache.c" ?

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/