]> git.baikalelectronics.ru Git - kernel.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)
commit8ef9c3f370f2fd77084fc550b540924fc18e5a72
tree743808e1d2252876c0b0f3550c6dba70f7e8e779
parent40761d5a5156ccc74d64bbd5a410236e93f4d252
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