]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: track request delay statistics
authorTheodore Ts'o <tytso@mit.edu>
Thu, 7 Feb 2013 03:30:23 +0000 (22:30 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 7 Feb 2013 03:30:23 +0000 (22:30 -0500)
commitf9ba831f079cf455863bfcdf6a95f5723571aef0
tree24bbb1691ec816aed648a895882526ce361ec92f
parentf9c4a1bd90c17adee23c3027f9e4dfeb9542e6b9
jbd2: track request delay statistics

Track the delay between when we first request that the commit begin
and when it actually begins, so we can see how much of a gap exists.
In theory, this should just be the remaining scheduling quantuum of
the thread which requested the commit (assuming it was not a
synchronous operation which triggered the commit request) plus
scheduling overhead; however, it's possible that real time processes
might get in the way of letting the kjournald thread from executing.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/transaction.c
include/linux/jbd2.h
include/trace/events/jbd2.h