]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/lru_cache.c
lru_cache: allow multiple changes per transaction
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 21 Feb 2011 12:21:01 +0000 (13:21 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:47:45 +0000 (16:47 +0200)
commit46a15bc3ec425b546d140581c28192ab7877ddc4
treeb7a8940d3c26129336429e61f831dfd5b5de30c7
parent45dfffebd08c1445493bfa8f0ec05b38714b9b2d
lru_cache: allow multiple changes per transaction

Allow multiple changes to the active set of elements in lru_cache.
The only current user of lru_cache, drbd, is driving this generalisation.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_actlog.c
drivers/block/drbd/drbd_nl.c
include/linux/lru_cache.h
lib/lru_cache.c