Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2007 15:54:11 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        William Josephson <freebsd-current@morphisms.net>, current@freebsd.org
Subject:   Re: ATA FLUSHCACHE
Message-ID:  <200704241554.12605.doconnor@gsoft.com.au>
In-Reply-To: <20070424051420.GA84831@mero.morphisms.net>
References:  <20070424051420.GA84831@mero.morphisms.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart61970024.LlYytWbUgG
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 24 April 2007 14:44, William Josephson wrote:
> I've recently installed -CURRENT on a new machine after the
> LCD in my old one died.  I now have ZFS running as the root
> filesystem.  The result is very pleasant if a little slow,
> although that may be my disk.  I have noticed a fair number
> of messages of the form ``ATA - FLUSHCACHE timed out'' while
> running with ZFS.  Is this expected behavior when running on
> the bare metal?

I see this when using gjournal too.

I suspect the timeout on the flush cache command needs to be increased.=20
I haven't got around to testing it but you could try increasing the=20
timeout in ata-disk.c (around line 280) ->
    case BIO_FLUSH:
        request->u.ata.lba =3D 0;
        request->u.ata.count =3D 0;
        request->u.ata.feature =3D 0;
        request->bytecount =3D 0;
        request->transfersize =3D 0;
        request->timeout =3D 1;
        request->retries =3D 0;
        request->flags =3D ATA_R_CONTROL;
        request->u.ata.command =3D ATA_FLUSHCACHE;
        break;

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart61970024.LlYytWbUgG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBGLaKM5ZPcIHs/zowRAiA9AJ42aDlfSy/1F13UN6B/VvJHm8KixQCcDjPm
2Lr98NGiKJPZEm/0J048qeI=
=XU8t
-----END PGP SIGNATURE-----

--nextPart61970024.LlYytWbUgG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704241554.12605.doconnor>