From: Nick Piggin get_request_wait needn't unplug the device immediately. Signed-off-by: Nick Piggin Cc: Jens Axboe Signed-off-by: Andrew Morton --- drivers/block/ll_rw_blk.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/block/ll_rw_blk.c~blk-unplug-later drivers/block/ll_rw_blk.c --- 25/drivers/block/ll_rw_blk.c~blk-unplug-later 2005-05-03 20:53:50.000000000 -0700 +++ 25-akpm/drivers/block/ll_rw_blk.c 2005-05-03 20:53:50.000000000 -0700 @@ -1968,7 +1968,6 @@ static struct request *get_request_wait( DEFINE_WAIT(wait); struct request *rq; - generic_unplug_device(q); do { struct request_list *rl = &q->rq; @@ -1980,6 +1979,7 @@ static struct request *get_request_wait( if (!rq) { struct io_context *ioc; + generic_unplug_device(q); io_schedule(); /* _