Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265225AbTFMHdU (ORCPT ); Fri, 13 Jun 2003 03:33:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265226AbTFMHdU (ORCPT ); Fri, 13 Jun 2003 03:33:20 -0400 Received: from nat-pool-rdu.redhat.com ([66.187.233.200]:12873 "EHLO devserv.devel.redhat.com") by vger.kernel.org with ESMTP id S265225AbTFMHdU (ORCPT ); Fri, 13 Jun 2003 03:33:20 -0400 Date: Fri, 13 Jun 2003 07:47:02 +0000 From: Arjan van de Ven To: Rob van Nieuwkerk Cc: Andries Brouwer , Alan Cox , Arjan van de Ven , linux-kernel@vger.kernel.org Subject: Re: open(.. O_DIRECT ..) difference in between Linux and FreeBSD .. Message-ID: <20030613074702.B30329@devserv.devel.redhat.com> References: <20030612151704.A2588@pclin040.win.tue.nl> <200306122312.h5CNCwhk002147@verdi.et.tudelft.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200306122312.h5CNCwhk002147@verdi.et.tudelft.nl>; from robn@verdi.et.tudelft.nl on Fri, Jun 13, 2003 at 01:12:57AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 15 On Fri, Jun 13, 2003 at 01:12:57AM +0200, Rob van Nieuwkerk wrote: > FYI: > It appears that somewhere between RH kernels 2.4.18-27.7.x and 2.4.20-18.9 > something has changed so that my application needs a O_SYNC too besides > the O_DIRECT to make sure that writes will be synchronous. If I leave > the O_SYNC out with 2.4.20-18.9 the write will happen physically 35 > seconds after the write() was done. O_DIRECT is nothing but a hint and the 2.4.20-18.9 kernel decides to not honor it - 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/