]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drbd: Add read_requests tree
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 21 Jan 2011 16:18:39 +0000 (17:18 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 29 Aug 2011 09:26:31 +0000 (11:26 +0200)
commitdac1389ccc273b5486f2931c64c8e1672f233727
tree51c0c5e5886928edbc7c9b8b5afa33d95698c507
parentde696716e8c40475d259fb49b3876ca0d9415970
drbd: Add read_requests tree

We do not do collision detection for read requests, but we still need to
look up the request objects when we receive a package over the network.
Using the same data structure for read and write requests results in
simpler code once the tl_hash and app_reads_hash tables are removed.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_req.c