block: handle blk_pm_resume_request() requests in blk_execute_rq_nowait()
Bartlomiej Zolnierkiewicz authored
For blk_pm_resume_request() requests (which are used only by IDE subsystem
currently) the queue is stopped so we need to call ->request_fn explicitly.

Thanks to:
- Rafael for reporting/bisecting the bug
- Borislav/Rafael for testing the fix

This is a preparation for converting IDE to use blk_execute_rq().

Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Borislav Petkov <petkovbb@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
9a2d43b7
Name Last commit Last update
..
Kconfig Kconfig: clean up block/Kconfig help descriptions
Kconfig.iosched update I/O sched Kconfig help texts - CFQ is now default, not AS.
Makefile block: ll_rw_blk.c split, add blk-merge.c
as-iosched.c block: Fix the starving writes bug in the anticipatory IO scheduler
blk-barrier.c block: remove remaining __FUNCTION__ occurrences
blk-core.c block: Move the second call to get_request to the end of the loop
blk-exec.c block: handle blk_pm_resume_request() requests in blk_execute_rq_nowait()
blk-ioc.c cfq-iosched: fix RCU race in the cfq io_context destructor handling
blk-map.c block: add dma alignment and padding support to blk_rq_map_kern
blk-merge.c block: get rid of likely/unlikely predictions in merge logic
blk-settings.c Remove blkdev warning triggered by using md
blk-sysfs.c block: sysfs store function needs to grab queue_lock and use queue_flag_*()
blk-tag.c block: adjust tagging function queue bit locking
blk.h block: rename and export rq_init()
blktrace.c block: disable IRQs until data is written to relay channel
bsg.c [SCSI] bsg: fix oops on remove
cfq-iosched.c cfq-iosched: fix RCU problem in cfq_cic_lookup()
compat_ioctl.c Fix misuses of bdevname()
deadline-iosched.c block: let elv_register() return void
elevator.c Added in elevator switch message to blktrace stream
genhd.c Fix invalid access errors in blk_lookup_devt
ioctl.c compat_ioctl: move common block ioctls to compat_blkdev_ioctl
noop-iosched.c block: let elv_register() return void
scsi_ioctl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6