]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Implemented priority inheritance for resync requests
authorPhilipp Reisner <philipp.reisner@linbit.com>
Sun, 7 Nov 2010 14:56:29 +0000 (15:56 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:34:53 +0000 (11:34 +0100)
commite3555d8545976703938d1b59e2db509426dbe02c
treea29b15c4ab07b51bf6e162ae68796c50718778aa
parent59817f4fab6a165ba83ce399464ba38432db8233
drbd: Implemented priority inheritance for resync requests

We only issue resync requests if there is no significant application IO
going on. = Application IO has higher priority than resnyc IO.

If application IO can not be started because the resync process locked
an resync_lru entry, start the IO operations necessary to release the
lock ASAP.

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_int.h
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c