From 3dda41af8cf941d5f5db01dd85df502c5d96aa02 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Tue, 19 Nov 2002 07:13:45 -0600 Subject: fix queue run on returning I/O [axboe@suse.de] On returning I/O, need to unplug the queue before we call the queue_fn. This fixes a problem in 2.5.48 where the aic7xxx driver hangs under e2fsck. --- include/linux/blkdev.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/blkdev.h') diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index d9b416ebc966..6730edd230e0 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -321,6 +321,7 @@ extern int scsi_cmd_ioctl(struct block_device *, unsigned int, unsigned long); extern void blk_start_queue(request_queue_t *q); extern void blk_stop_queue(request_queue_t *q); extern void __blk_stop_queue(request_queue_t *q); +extern void __blk_run_queue(request_queue_t *q); static inline request_queue_t *bdev_get_queue(struct block_device *bdev) { -- cgit v1.2.3