diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-08-21 16:14:14 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-08-29 10:19:11 -0400 |
commit | 01b291bd66564b4bd826326af6bd0b6d17e99439 (patch) | |
tree | 89ba1f339a68827c1ea0e434629759a9252b0a69 /block/blk-map.c | |
parent | bb0003c1e189d5766b6b39299b08c690c985c4dc (diff) |
[SCSI] fix check of PQ and PDT bits for WLUNs
For IBM z series certain LUNs can no longer be accessed.
This is because kernel version 2.6.19 a check was introduced not to
create a generic SCSI device for devices that return PQ=1 and
PDT=0x1f. For WLUNs (see SAM-3, p. 41ff) generic SCSI devices should
be created unconditionally without looking at the PQ bit, so add a
check for WLUNs in with this test.
Acked-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions