Re: [PATCH] qla2xxx: Fix to allow to reset devices using sg interface (sg_reset)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 25 Jul 2006, Vladislav Bolkhovitin wrote:

> Currently it is impossible to reset provided by Qlogic QLA2xxx driver 
> SCSI devices externally using corresponding sg devices, particularly via 
> sg_reset utility, because qla2xxx driver in qla2xxx_eh_device_reset() 
> function checks if the input scsi_cmnd has its private data (CMD_SP()) 
> attached. Then the found pointer isn't used anywhere inside of 
> qla2xxx_eh_device_reset(). If the RESET request comes from sg device, it 
> doesn't have such private data.
> 
> The attached patch removes check for non-NULL CMD_SP() from 
> qla2xxx_eh_device_reset(), hence allows to reset QLA2xxx's devices using 
> corresponding sg devices.

hmm... actually this change should propegate to the bus and host reset
handlers as well.  I have a series of small fixes queued for
submission, I'll add you patch (with the bus/host deltas) to the
queue.

Thanks,
Andrew Vasquez
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux