mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	scsi: libsas: allow async aborts
We now first try to call ->eh_abort_handler from a work queue, but libsas was always failing that for no good reason. Allow async aborts. Reviewed-by: Johannes Thumshirn <jth@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
		
							parent
							
								
									1bcb93047e
								
							
						
					
					
						commit
						909657615d
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -491,9 +491,6 @@ int sas_eh_abort_handler(struct scsi_cmnd *cmd)
 | 
			
		|||
	struct Scsi_Host *host = cmd->device->host;
 | 
			
		||||
	struct sas_internal *i = to_sas_internal(host->transportt);
 | 
			
		||||
 | 
			
		||||
	if (current != host->ehandler)
 | 
			
		||||
		return FAILED;
 | 
			
		||||
 | 
			
		||||
	if (!i->dft->lldd_abort_task)
 | 
			
		||||
		return FAILED;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue