From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiqcH-0007sW-K4 for qemu-devel@nongnu.org; Wed, 02 Sep 2009 10:15:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiqcD-0007p9-0o for qemu-devel@nongnu.org; Wed, 02 Sep 2009 10:15:17 -0400 Received: from [199.232.76.173] (port=57561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiqcC-0007oy-NV for qemu-devel@nongnu.org; Wed, 02 Sep 2009 10:15:12 -0400 Received: from verein.lst.de ([213.95.11.210]:51979) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MiqcB-0007xN-UB for qemu-devel@nongnu.org; Wed, 02 Sep 2009 10:15:12 -0400 Date: Wed, 2 Sep 2009 16:15:06 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH 2/4] block: use fdatasync instead of fsync Message-ID: <20090902141506.GB18253@lst.de> References: <20090831201627.GA4811@lst.de> <20090831201709.GB4874@lst.de> <20090901160409.GA22629@lst.de> <20090902003454.GE1321@shareable.org> <20090902003705.GA13309@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Christoph Hellwig , qemu-devel@nongnu.org On Wed, Sep 02, 2009 at 05:02:32PM +0300, Blue Swirl wrote: > > Now I'm pretty sure we'll find various fuckups where headers define > > fdatasync but not _POSIX_SYNCHRONIZED_IO or vice versa, but I can > > outsource adding workarounds for that to people with those broken > > setups. > > I'd use a real function, like qemu_fdatasync(). Especially if the > Windows equivalent will be complex. Ok.