diff options
author | Dexuan Cui <decui@microsoft.com> | 2025-06-06 13:57:39 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-06-09 21:50:26 -0400 |
commit | b2f966568faaad326de97481096d0f3dc0971c43 (patch) | |
tree | 17533ec0662d5fb8f840ed86e123c8424b710853 /rust/helpers/helpers.c | |
parent | a3da9388c66782dbd808a63709e376ebe81ccca5 (diff) |
scsi: storvsc: Increase the timeouts to storvsc_timeout
Currently storvsc_timeout is only used in storvsc_sdev_configure(), and
5s and 10s are used elsewhere. It turns out that rarely the 5s is not
enough on Azure, so let's use storvsc_timeout everywhere.
In case a timeout happens and storvsc_channel_init() returns an error,
close the VMBus channel so that any host-to-guest messages in the
channel's ringbuffer, which might come late, can be safely ignored.
Add a "const" to storvsc_timeout.
Cc: stable@kernel.org
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/1749243459-10419-1-git-send-email-decui@microsoft.com
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions