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
f3cd86d548
commit
ab279db877
@ -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