drbd: add lists to find oldest pending requests
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 22 Nov 2013 11:52:03 +0000 (12:52 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:12 +0000 (18:35 +0200)
commit844a6ae7358df3261daec25e0d3a510f3d4152f2
treeacdc6130cc3ed831dc1f5987494a241c73e0b9fa
parente5f891b2234dbab8c8797111a61519d0728ef855
drbd: add lists to find oldest pending requests

Adding requests to per-device fifo lists as soon as possible after
allocating them leaves a simple list_first_entry_or_null() to find the
oldest request, regardless what it is still waiting for.

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
This page took 0.024455 seconds and 5 git commands to generate.