From ab279db877853300045a8cf5f8c953194a799ebc Mon Sep 17 00:00:00 2001 From: roberto Date: Thu, 26 Apr 2007 12:59:20 +0000 Subject: 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 --- sys/dev/ata/ata-disk.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 8b52c99..a0009e5 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -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; -- cgit v1.1