Re: [PATCH] blk: implement elv_drain_elevator

From: Jens Axboe
Date: Thu Nov 10 2005 - 02:51:40 EST


On Thu, Nov 10 2005, Tejun Heo wrote:
> This patch adds request_queue->nr_sorted which keeps the number of
> requests in the iosched and implement elv_drain_elevator which
> performs forced dispatching. elv_drain_elevator checks whether
> iosched actually dispatches all requests it has and prints error
> message if it doesn't. As buggy forced dispatching can result in
> wrong barrier operations, I think this extra check is worthwhile.

Yeah I agree, especially as it's potentially data integrity violating
with this kind of bug. Applied.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/