scsi_dh_alua: Add new blacklist flag 'BLIST_SYNC_ALUA'
Add a new blacklist flag BLIST_SYNC_ALUA to instruct the alua device handler to use synchronous command submission for ALUA commands. Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
00642a1bff
commit
851cde9909
@@ -366,6 +366,8 @@ static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h,
|
||||
/* port group has changed. Update to new port group */
|
||||
rcu_assign_pointer(h->pg, pg);
|
||||
}
|
||||
if (sdev->synchronous_alua)
|
||||
pg->flags |= ALUA_SYNC_STPG;
|
||||
alua_rtpg_queue(h->pg, sdev, NULL);
|
||||
spin_unlock(&h->pg_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user