iowatcher: Fix filtering of outliers from below
authorJan Kara <jack@suse.cz>
Sat, 1 Sep 2012 21:37:20 +0000 (23:37 +0200)
committerChris Mason <chris.mason@oracle.com>
Tue, 11 Sep 2012 00:53:05 +0000 (20:53 -0400)
commit41fdf407713a487702d8112b6d4696744e693b73
tree25f4f34d3a39c76874e03d7b641497e0336491da
parent1582ecc9db5e2be713493b07d015e272b97dd7e7
iowatcher: Fix filtering of outliers from below

There are lots of trace actions which do not carry a sector with them (e.g.
plug, unplug, ...). Thus sector is 0 for them and that results in trimming
of outliers from below never working. Fix the problem by accounting only
Queue events in the outlier statistics.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
iowatcher/blkparse.c