[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.6.0-test2-mm5
On Thu, Aug 07 2003, Nick Piggin wrote:
> --- linux-2.6/drivers/block/as-iosched.c.orig 2003-08-07 18:33:06.000000000 +1000
> +++ linux-2.6/drivers/block/as-iosched.c 2003-08-07 18:36:03.000000000 +1000
> @@ -1198,8 +1198,10 @@ static int as_dispatch_request(struct as
> */
> goto dispatch_writes;
>
> - if (ad->batch_data_dir == REQ_ASYNC)
> + if (ad->batch_data_dir == REQ_ASYNC) {
> + WARN_ON(ad->new_batch || ad->changed_batch);
combining debug checks like this is generally a bad idea imho, since you
don't know which of them triggered...
--
Jens Axboe
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>