Re: [PATCH 1/7] block: Add block_flush_device()

Mark Lord
2009-03-31T13:23:22Z

Chris Mason wrote:
>
> You can test this pretty easily:
>
> dd if=/dev/zero of=foo bs=4k count=10000 oflag=direct
>
> If that runs faster than 1MB/s the write cache is still on.
..

Or simply: hdparm -W /dev/sd? ## (for SATA/PATA drives)