Re: [PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-10-16 Thread Zhengping Zhou
2015-10-15 16:22 GMT+08:00 Zhengping Zhou : > Yes > > But it's interesting ,when you continue to add this device (with the > same LUN, target, bus, and host number!) to the list,scsi_add_device > will call scsi_probe_and_add_lun,and it will call > scsi_device_lookup_by_

Re: [PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-10-15 Thread Zhengping Zhou
y.but scsi_device_lookup_by_target doesn't has the problem what I mentioned in this patch .So it's OK when you add this device again. Forgive my poor English! 2015-10-15 15:53 GMT+08:00 Hannes Reinecke : > On 10/15/2015 09:38 AM, Zhengping Zhou wrote: >> when a scsi_device is unpluged from scsi controlle

[PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-10-15 Thread Zhengping Zhou
ailure of hot swap. Signed-off-by: Zhengping Zhou --- Hi all: I'm sorry to bother again,that's my second time to send this patch. I find a bug about the failure of hot swap when I am using megaraid sas series controller. Finally I have found that

[PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-09-23 Thread Zhengping Zhou
ailure of hot swap. Signed-off-by: Zhengping Zhou --- Hi all: I find a bug about the failure of hot swap when I am using megaraid sas series controller. Finally I have found that when controller receives the event of hot swap, it will firstly check whether the devi