(ata_completed): When REQUEST SENSE is automatically issued after a failed
ATAPI request, do not clear the ATA_R_DEBUG flag. This allows a request marked as requiring debug traces to produce these traces also during the completion of the autosense processing. Reviewed by: sos MFC after: 2 weeks
This commit is contained in:
parent
c1f2a5334d
commit
3a5f6750df
@ -388,7 +388,7 @@ ata_completed(void *context, int dummy)
|
||||
request->donecount = 0;
|
||||
request->transfersize = sizeof(struct atapi_sense);
|
||||
request->timeout = 5;
|
||||
request->flags &= (ATA_R_ATAPI | ATA_R_QUIET);
|
||||
request->flags &= (ATA_R_ATAPI | ATA_R_QUIET | ATA_R_DEBUG);
|
||||
request->flags |= (ATA_R_READ | ATA_R_AT_HEAD | ATA_R_REQUEUE);
|
||||
ATA_DEBUG_RQ(request, "autoissue request sense");
|
||||
ata_queue_request(request);
|
||||
|
Loading…
Reference in New Issue
Block a user