Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758802AbZCaNXW (ORCPT ); Tue, 31 Mar 2009 09:23:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758178AbZCaNXK (ORCPT ); Tue, 31 Mar 2009 09:23:10 -0400 Received: from rtr.ca ([76.10.145.34]:40880 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758086AbZCaNXJ (ORCPT ); Tue, 31 Mar 2009 09:23:09 -0400 Message-ID: <49D21939.4050106@rtr.ca> Date: Tue, 31 Mar 2009 09:23:05 -0400 From: Mark Lord Organization: Real-Time Remedies Inc. User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Chris Mason Cc: Jens Axboe , Linus Torvalds , =?UTF-8?B?RmVybmFuZG8gTHVpcyBWw6F6cXVleiBDYW8=?= , Jeff Garzik , Christoph Hellwig , Theodore Tso , Ingo Molnar , Alan Cox , Arjan van de Ven , Andrew Morton , Peter Zijlstra , Nick Piggin , David Rees , Jesper Krogh , Linux Kernel Mailing List , david@fromorbit.com, tj@kernel.org Subject: Re: [PATCH 1/7] block: Add block_flush_device() References: <49D02328.7060108@oss.ntt.co.jp> <49D0258A.9020306@garzik.org> <49D03377.1040909@oss.ntt.co.jp> <49D0B535.2010106@oss.ntt.co.jp> <49D0B687.1030407@oss.ntt.co.jp> <20090330175544.GX5178@kernel.dk> <20090330185414.GZ5178@kernel.dk> <20090330201732.GB5178@kernel.dk> <49D13123.7040007@rtr.ca> <1238505376.8363.26.camel@think.oraclecorp.com> In-Reply-To: <1238505376.8363.26.camel@think.oraclecorp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 489 Lines: 15 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/