linux/drivers/scsi/libsas
Jason Yan 1689c9367b scsi: libsas: notify event PORTE_BROADCAST_RCVD in sas_enable_revalidation()
There are two places queuing the disco event DISCE_REVALIDATE_DOMAIN.
One is in sas_porte_broadcast_rcvd() and uses sas_chain_event() to queue
the event. The other is in sas_enable_revalidation() and uses
sas_queue_event() to queue the event. We have diffrent work queues for
event and discovery now, so the DISCE_REVALIDATE_DOMAIN event may be
processed in both event queue and discovery queue.

Now since we do synchronous event handling, we cannot do it in discovery
queue, so have to trigger a fake broadcast event to re-trigger the
revalidation from event queue.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
CC: John Garry <john.garry@huawei.com>
CC: Johannes Thumshirn <jthumshirn@suse.de>
CC: Ewan Milne <emilne@redhat.com>
CC: Christoph Hellwig <hch@lst.de>
CC: Tomas Henzl <thenzl@redhat.com>
CC: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-01-10 23:24:54 -05:00
..
Kconfig scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough 2017-08-29 21:51:45 -04:00
Makefile
sas_ata.c scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
sas_discover.c scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
sas_dump.c scsi: libsas: kill useless ha_event and do some cleanup 2017-09-15 21:32:58 -04:00
sas_dump.h scsi: libsas: kill useless ha_event and do some cleanup 2017-09-15 21:32:58 -04:00
sas_event.c scsi: libsas: notify event PORTE_BROADCAST_RCVD in sas_enable_revalidation() 2018-01-10 23:24:54 -05:00
sas_expander.c scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
sas_host_smp.c scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough 2017-08-29 21:51:45 -04:00
sas_init.c scsi: libsas: Use new workqueue to run sas event and disco event 2018-01-08 21:59:28 -05:00
sas_internal.h scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
sas_phy.c scsi: libsas: shut down the PHY if events reached the threshold 2018-01-08 21:59:28 -05:00
sas_port.c scsi: libsas: direct call probe and destruct 2018-01-10 23:24:02 -05:00
sas_scsi_host.c scsi: libsas: remove private hex2bin() implementation 2018-01-03 22:40:52 -05:00
sas_task.c scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:31:23 -04:00