Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 5 Nov 2001 01:22:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 5 Nov 2001 01:22:48 -0500 Received: from ns.suse.de ([213.95.15.193]:30217 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Mon, 5 Nov 2001 01:22:36 -0500 To: Jeff Dike Cc: linux-kernel@vger.kernel.org Subject: Re: Special Kernel Modification In-Reply-To: <200111050552.AAA06451@ccure.karaya.com.suse.lists.linux.kernel> From: Andi Kleen Date: 05 Nov 2001 07:22:28 +0100 In-Reply-To: Jeff Dike's message of "5 Nov 2001 05:44:11 +0100" Message-ID: Lines: 15 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeff, Jeff Dike writes: > Ummm, how about O_DIRECT instead of O_SYNC (or maybe as well, my googling > hasn't been clear on whether O_DIRECT bypasses the cache on writes as well)? It does, but it has been deimplemented in the Linus tree and never put into the -ac tree. You would need -aa for working O_DIRECT or use a raw device. Also they both have some restrictions on buffer alignment, but these would be already fulfilled if UML internally writes through the page cache (which it does of course) -Andi - 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/