Re: [PATCH] libata: specify timeout value when internal command times out.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/26/22 19:36, Sergei Shtylyov wrote:
> Hello!
>
> On 7/26/22 8:01 PM, Tomas Henzl wrote:
>
>> Specifying timeout value may help in troubleshooting failures.
>>
>> Signed-off-by: David Milburn <dmilburn@xxxxxxxxxx>
>> Signed-off-by: Tomas Henzl <thenzl@xxxxxxxxxx>
>> ---
>>  drivers/ata/libata-core.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
>> index 40e816419f48..e1f8a01a3b92 100644
>> --- a/drivers/ata/libata-core.c
>> +++ b/drivers/ata/libata-core.c
>> @@ -1578,8 +1578,8 @@ unsigned ata_exec_internal_sg(struct ata_device *dev,
>>  			else
>>  				ata_qc_complete(qc);
>>  
>> -			ata_dev_warn(dev, "qc timeout (cmd 0x%x)\n",
>> -				     command);
>> +			ata_dev_warn(dev, "qc timeout after %lu msecs (cmd 0x%x)\n",
>> +				timeout, command);
>    The 'timeout' parameter is now *unsigned int*, please generate the patches
> against the libata repo's for-next branch.

ok, thanks, will do

>
> [...]
>
> MBR, Sergey
>




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux