Re: [PATCH v2 0/4] scsi: ufs: core: Factor hba->outstanding_reqs helper and fix double completion

From: Bart Van Assche

Date: Tue Oct 20 2026 - 12:49:35 EST


On 10/19/26 8:16 PM, Peter Wang wrote:
So, should we remove the call to __ufshcd_transfer_req_compl from
ufshcd_abort, which was added by commit 
64180742605f (“scsi: ufs: Fix the SCSI abort handler”)?
Removing the __ufshcd_transfer_req_compl() call from ufshcd_abort()
sounds good to me. Please note that there was already such a call before
my patch. I think this is the first commit that introduced a completion
call in the ufshcd_abort() handler: 8bb2dde069d8 ("scsi: ufs: Properly release resources if a task is aborted successfully").

Best regards,

Bart.