Re: [PATCH] barrier patch set

From: Bartlomiej Zolnierkiewicz
Date: Fri Mar 19 2004 - 18:58:17 EST


On Saturday 20 of March 2004 00:01, Matthias Andree wrote:
> On Fri, 19 Mar 2004, Jeff Garzik wrote:
> > - issue set-features command to get flush-cache into proper state
> > (enabled or disabled, as the user desires), if identify-device word 86
> > indicates it is not already in the state you seek.
>
> BTW, speaking of identify-device, hdparm -i (which uses
> HDIO_GET_IDENTITY) always returns "WriteCache=enabled" while hdparm -I
> that uses HDIO_DRIVE_CMD with WIN_PIDENTIFY reports the "correct" state
> that I've previously set with -W0. This is an i386 machine w/ 2.6.5-rc1.
>
> Is HDIO_GET_IDENTITY working correctly?

There were reports that on some drives you can't disable write cache
and even (?) that some drives lie (WC still enabled but marked as disabled).

Regards,
Bartlomiej

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/