Use the same timeout parameters for BIO_FLUSH as with the other commands.
This workaround the problem in Parallels/VMWare where the emulated drivers are slower, especially with ATA_FLUSHCACHE. The problem appears much more frequently with ZFS which use it a lot more. Approved: sos, pjd
This commit is contained in:
parent
171c4b21e2
commit
825f8b5050
@ -277,8 +277,6 @@ ad_strategy(struct bio *bp)
|
||||
request->u.ata.feature = 0;
|
||||
request->bytecount = 0;
|
||||
request->transfersize = 0;
|
||||
request->timeout = 1;
|
||||
request->retries = 0;
|
||||
request->flags = ATA_R_CONTROL;
|
||||
request->u.ata.command = ATA_FLUSHCACHE;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user