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

From: Mark Lord
Date: Tue Mar 31 2009 - 09:23:22 EST


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)
--
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/