diff options
author | mav <mav@FreeBSD.org> | 2010-05-02 04:16:39 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-05-02 04:16:39 +0000 |
commit | 113965a783486fa0bfab880cc7a2209285511195 (patch) | |
tree | 96a9b72254565f90cc2d3f0ce51d1cc32891f168 /sys/cam | |
parent | 69cbedb734d7c872998529ff2946d9822f59b825 (diff) | |
download | FreeBSD-src-113965a783486fa0bfab880cc7a2209285511195.zip FreeBSD-src-113965a783486fa0bfab880cc7a2209285511195.tar.gz |
Add xpt_schedule_dev_sendq() call, lost at r203108. It is not needed in
usual operation, but required in some conditions to make queue running
after being shrinked.
MFC after: 3 days
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_xpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index ed05c40..5d83539 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -4874,6 +4874,8 @@ camisr_runqueue(void *V_queue) if ((dev->flags & CAM_DEV_TAG_AFTER_COUNT) != 0 && (--dev->tag_delay_count == 0)) xpt_start_tags(ccb_h->path); + if (!device_is_send_queued(dev)) + xpt_schedule_dev_sendq(ccb_h->path->bus, dev); } if (ccb_h->status & CAM_RELEASE_SIMQ) { |