Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261996AbVCHAcQ (ORCPT ); Mon, 7 Mar 2005 19:32:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262011AbVCHAcH (ORCPT ); Mon, 7 Mar 2005 19:32:07 -0500 Received: from quechua.inka.de ([193.197.184.2]:24462 "EHLO mail.inka.de") by vger.kernel.org with ESMTP id S262002AbVCHAbk (ORCPT ); Mon, 7 Mar 2005 19:31:40 -0500 From: Bernd Eckenfels To: linux-kernel@vger.kernel.org Subject: Re: [MC] [CHECKER] Do ext2, jfs and reiserfs respect mount -o sync/dirsync option? Organization: Private Site running Debian GNU/Linux In-Reply-To: X-Newsgroups: ka.lists.linux.kernel User-Agent: tin/1.7.6-20040906 ("Baleshare") (UNIX) (Linux/2.6.8.1 (i686)) Message-Id: Date: Tue, 08 Mar 2005 01:31:34 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 15 In article you wrote: > 3. I open a file w/o O_SYNC, issue a bunch of writes, then call > ioctl(FIOASYNC) to set the fd sync, then issure a second set of writes. > Only the second set of writes are synchronous? I also am curious if one can open a file, write to it, close it, open it and do fsync()/fdatasync() on it? Greetings Bernd - 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/