diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-23 14:13:11 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-23 14:13:11 -0400 |
| commit | d4e06701b89286a306b31e20ec69a904fae374a1 (patch) | |
| tree | f6adefd65b021ccddb7655109ea8b9ab4e714292 | |
| parent | e4980371059ca4a81ccdcb4381c41af8869ca711 (diff) | |
| parent | 87045b033a62777337ae4aa62834876da09b5fb5 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (77 commits)
[SCSI] fix crash in scsi_dispatch_cmd()
[SCSI] sr: check_events() ignore GET_EVENT when TUR says otherwise
[SCSI] bnx2i: Fixed kernel panic due to illegal usage of sc->request->cpu
[SCSI] bfa: Update the driver version to 3.0.2.1
[SCSI] bfa: Driver and BSG enhancements.
[SCSI] bfa: Added support to query PHY.
[SCSI] bfa: Added HBA diagnostics support.
[SCSI] bfa: Added support for flash configuration
[SCSI] bfa: Added support to obtain SFP info.
[SCSI] bfa: Added support for CEE info and stats query.
[SCSI] bfa: Extend BSG interface.
[SCSI] bfa: FCS bug fixes.
[SCSI] bfa: DMA memory allocation enhancement.
[SCSI] bfa: Brocade-1860 Fabric Adapter vHBA support.
[SCSI] bfa: Brocade-1860 Fabric Adapter PLL init fixes.
[SCSI] bfa: Added Fabric Assigned Address(FAA) support
[SCSI] bfa: IOC bug fixes.
[SCSI] bfa: Enable ASIC block configuration and query.
[SCSI] bnx2i: Updated copyright and bump version
[SCSI] bnx2i: Modified to skip CNIC registration if iSCSI is not supported
...
Fix up some trivial conflicts in:
- drivers/scsi/bnx2fc/{bnx2fc.h,bnx2fc_fcoe.c}:
Crazy broadcom version number conflicts
- drivers/target/tcm_fc/tfc_cmd.c
Just trivial cleanups done on adjacent lines
96 files changed, 13311 insertions, 3194 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 75214405d61a..612316c352a2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -1553,6 +1553,12 @@ L: linux-wireless@vger.kernel.org | |||
| 1553 | S: Supported | 1553 | S: Supported |
| 1554 | F: drivers/staging/brcm80211/ | 1554 | F: drivers/staging/brcm80211/ |
| 1555 | 1555 | ||
| 1556 | BROADCOM BNX2FC 10 GIGABIT FCOE DRIVER | ||
| 1557 | M: Bhanu Prakash Gollapudi <bprakash@broadcom.com> | ||
| 1558 | L: linux-scsi@vger.kernel.org | ||
| 1559 | S: Supported | ||
| 1560 | F: drivers/scsi/bnx2fc/ | ||
| 1561 | |||
| 1556 | BROCADE BFA FC SCSI DRIVER | 1562 | BROCADE BFA FC SCSI DRIVER |
| 1557 | M: Jing Huang <huangj@brocade.com> | 1563 | M: Jing Huang <huangj@brocade.com> |
| 1558 | L: linux-scsi@vger.kernel.org | 1564 | L: linux-scsi@vger.kernel.org |
| @@ -1775,7 +1781,8 @@ F: include/linux/clk.h | |||
| 1775 | 1781 | ||
| 1776 | CISCO FCOE HBA DRIVER | 1782 | CISCO FCOE HBA DRIVER |
| 1777 | M: Abhijeet Joglekar <abjoglek@cisco.com> | 1783 | M: Abhijeet Joglekar <abjoglek@cisco.com> |
| 1778 | M: Joe Eykholt <jeykholt@cisco.com> | 1784 | M: Venkata Siva Vijayendra Bhamidipati <vbhamidi@cisco.com> |
| 1785 | M: Brian Uchino <buchino@cisco.com> | ||
| 1779 | L: linux-scsi@vger.kernel.org | 1786 | L: linux-scsi@vger.kernel.org |
| 1780 | S: Supported | 1787 | S: Supported |
| 1781 | F: drivers/scsi/fnic/ | 1788 | F: drivers/scsi/fnic/ |
diff --git a/block/blk-core.c b/block/blk-core.c index d2f8f4049abd..1d49e1c7c905 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
| @@ -839,6 +839,9 @@ struct request *blk_get_request(struct request_queue *q, int rw, gfp_t gfp_mask) | |||
| 839 | { | 839 | { |
| 840 | struct request *rq; | 840 | struct request *rq; |
| 841 | 841 | ||
| 842 | if (unlikely(test_bit(QUEUE_FLAG_DEAD, &q->queue_flags))) | ||
| 843 | return NULL; | ||
| 844 | |||
| 842 | BUG_ON(rw != READ && rw != WRITE); | 845 | BUG_ON(rw != READ && rw != WRITE); |
| 843 | 846 | ||
| 844 | spin_lock_irq(q->queue_lock); | 847 | spin_lock_irq(q->queue_lock); |
diff --git a/block/blk-exec.c b/block/blk-exec.c index 8a0e7ec056e7..a1ebceb332f9 100644 --- a/block/blk-exec.c +++ b/block/blk-exec.c | |||
| @@ -50,6 +50,13 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk, | |||
| 50 | { | 50 | { |
| 51 | int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK; | 51 | int where = at_head ? ELEVATOR_INSERT_FRONT : ELEVATOR_INSERT_BACK; |
| 52 | 52 | ||
| 53 | if (unlikely(test_bit(QUEUE_FLAG_DEAD, &q->queue_flags))) { | ||
| 54 | rq->errors = -ENXIO; | ||
| 55 | if (rq->end_io) | ||
| 56 | rq->end_io(rq, rq->errors); | ||
| 57 | return; | ||
| 58 | } | ||
| 59 | |||
