kernel_optimize_test/drivers/scsi/libsas
Jason Yan 517e5153d2 scsi: libsas: use flush_workqueue to process disco events synchronously
Now we are processing sas event and discover event in different
workqueues.  It's safe to wait the discover event done in the sas event
work. Use flush_workqueue() to insure the disco and revalidate events
processed synchronously so that the whole discover and revalidate
process will not be interrupted by other events.

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-08 21:59:28 -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: Annotate fall-through in a switch statement 2017-08-25 17:08:08 -04:00
sas_discover.c scsi: libsas: Use new workqueue to run sas event and disco event 2018-01-08 21:59:28 -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: Use new workqueue to run sas event and disco event 2018-01-08 21:59:28 -05:00
sas_expander.c scsi: libsas: initialize sas_phy status according to response of DISCOVER 2018-01-08 21:43:05 -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: Use dynamic alloced work to avoid sas event lost 2018-01-08 21:59:28 -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: use flush_workqueue to process disco events synchronously 2018-01-08 21:59:28 -05:00
sas_scsi_host.c scsi: libsas: remove private hex2bin() implementation 2018-01-03 22:40:52 -05:00
sas_task.c