]> err.no Git - linux-2.6/commit
[PATCH] as-iosched: remove state assertion in as_add_request()
authorJens Axboe <axboe@suse.de>
Mon, 21 Nov 2005 18:49:41 +0000 (19:49 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 21 Nov 2005 19:04:52 +0000 (11:04 -0800)
commit8ad9ebb391e4cd75837ee608b9c33fcaceda0bc2
treebac5dc39477176652b07dea14052d6febc2708bc
parentf9e6bfa141c5bcf3402d98204b7b23b310be9ddb
[PATCH] as-iosched: remove state assertion in as_add_request()

Kill the arq->state poison statement in as_add_request(), it can trigger
for perfectly valid code that just reuses a request after io completion
instead of freeing it and allocating a new one. We probably should
introduce a blk_init_request() to start from scratch, but for now just
kill it as we will be removing the as specific poisoning soon.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/as-iosched.c