Re: SCSI: race condition between scsi_remove_target and scsi_probe_and_add_lun

2015-10-23 Thread Alexey Ivanov
+ linux-scsi > On Mar 20, 2014, at 6:42 PM, Andrey Zonov wrote: > > Hi, > > I've got kernel panic on my box which works as FibreChannel initiator. > I was able to reproduce this panic by setting dev_loss_tmo=2 and > enabling/disabling ports every 5 seconds on the switch in 5 minutes. I > added

SCSI: race condition between scsi_remove_target and scsi_probe_and_add_lun

2014-03-20 Thread Andrey Zonov
Hi, I've got kernel panic on my box which works as FibreChannel initiator. I was able to reproduce this panic by setting dev_loss_tmo=2 and enabling/disabling ports every 5 seconds on the switch in 5 minutes. I added some debug points in the kernel code and that's what I've got so far: 1. system