drbd: consistently use list_add_tail for peer_request tracking
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 23 Apr 2014 10:15:35 +0000 (12:15 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:08 +0000 (18:35 +0200)
commitb9ed7080d7d29112c898c64bad778b84eec0ed2d
treefe2f27854645ec6c51ca71a149590e567f3bbbd4
parent41d9f7cd5ba8a488fbc96350141c70c5c01bf8e6
drbd: consistently use list_add_tail for peer_request tracking

Keep the epoch entry lists (active_ee, read_ee, sync_ee, ...)
consistently "oldest first".  That way finding the oldest not yet
successfully processed request is simply list_first_entry_or_null.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c
This page took 0.024694 seconds and 5 git commands to generate.