From: Jerome Marchand Date: Wed, 22 Apr 2009 12:01:49 +0000 (+0200) Subject: block: simplify I/O stat accounting X-Git-Tag: v2.6.30-rc4~65^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42dad7647aec49b3ad20dd0cb832b232a6ae514f;p=pandora-kernel.git block: simplify I/O stat accounting This simplifies I/O stat accounting switching code and separates it completely from I/O scheduler switch code. Requests are accounted according to the state of their request queue at the time of the request allocation. There is no need anymore to flush the request queue when switching I/O accounting state. Signed-off-by: Jerome Marchand Signed-off-by: Jens Axboe --- Reading git-diff-tree failed