From: Lars Ellenberg Date: Mon, 5 May 2014 21:42:24 +0000 (+0200) Subject: drbd: track timing details of peer_requests X-Git-Tag: omap-for-v3.17/fixes-against-rc2~74^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21ae5d7f95aa1a64f35b03c91f8714ced3ab61a9;p=pandora-kernel.git drbd: track timing details of peer_requests To be able to present timing details in debugfs, we need to track preparation/submit times of peer requests. Track peer request flags early, before they are put on the epoch_entry lists. Waiting for activity log transactions may be a major latency factor. We want to be able to present the peer_request state accurately in debugfs, and what it is waiting for. Consistently mark/unmark peer requests with EE_CALL_AL_COMPLETE_IO. Set it only *after* calling drbd_al_begin_io(), clear it as soon as we call drbd_al_complete_io(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed