/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_proc.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_actlog.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_worker.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_req.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_int.h | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_receiver.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|
H A D | drbd_main.c | diff ad3fee790088d36ad862e31535b5b99c25adeef4 Fri Dec 20 04:22:13 CST 2013 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: improve throttling decisions of background resynchronisation
Background resynchronisation does some "side-stepping", or throttles itself, if it detects application IO activity, and the current resync rate estimate is above the configured "cmin-rate".
What was not detected: if there is no application IO, because it blocks on activity log transactions.
Introduce a new atomic_t ap_actlog_cnt, tracking such blocked requests, and count non-zero as application IO activity. This counter is exposed at proc_details level 2 and above.
Also make sure to release the currently locked resync extent if we side-step due to such voluntary throttling.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
|