mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Reset timeout when we are back from interrupt.
This commit is contained in:
parent
da9edda62d
commit
7f45e0f014
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138554
@ -216,6 +216,9 @@ ata_finish(struct ata_request *request)
|
||||
ata_completed(request, 0);
|
||||
}
|
||||
else {
|
||||
if (!dumping)
|
||||
callout_reset(&request->callout, request->timeout * hz,
|
||||
(timeout_t*)ata_timeout, request);
|
||||
if (request->bio && !(request->flags & ATA_R_TIMEOUT)) {
|
||||
ATA_DEBUG_RQ(request, "finish bio_taskqueue");
|
||||
bio_taskqueue(request->bio, (bio_task_t *)ata_completed, request);
|
||||
|
Loading…
Reference in New Issue
Block a user