]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drbd: gather detailed timing statistics for drbd_requests
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 22 Nov 2013 11:32:01 +0000 (12:32 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:11 +0000 (18:35 +0200)
commite5f891b2234dbab8c8797111a61519d0728ef855
tree743808e1d2252876c0b0f3550c6dba70f7e8e779
parente37d2438d8e5e4c1225cf94d45347fa207835447
drbd: gather detailed timing statistics for drbd_requests

Record (in jiffies) how much time a request spends in which stages.
Followup commits will use and present this additional timing information
so we can better locate and tackle the root causes of latency spikes,
or present the backlog for asynchronous replication.

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