From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: Shouldn't cache=none be the default for drives? Date: Thu, 8 Apr 2010 06:08:35 -0400 Message-ID: <20100408100835.GA29089@infradead.org> References: <4BBC992D.3050905@gmail.com> <4BBD7215.3080204@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thomas Mueller , kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:52359 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758389Ab0DHKIl (ORCPT ); Thu, 8 Apr 2010 06:08:41 -0400 Content-Disposition: inline In-Reply-To: <4BBD7215.3080204@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Apr 08, 2010 at 10:05:09AM +0400, Michael Tokarev wrote: > LVM volumes. This is because with cache=none, the virtual disk > image is opened with O_DIRECT flag, which means all I/O bypasses > host scheduler and buffer cache. O_DIRECT does not bypass the I/O scheduler, only the page cache.