Received: with ECARTIS (v1.0.0; list linux-xfs); Mon, 09 Dec 2002 17:27:55 -0800 (PST) Received: from web20203.mail.yahoo.com (web20203.mail.yahoo.com [216.136.226.58]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gBA1RguR007780 for ; Mon, 9 Dec 2002 17:27:51 -0800 Message-ID: <20021210013105.951.qmail@web20203.mail.yahoo.com> Received: from [202.219.216.203] by web20203.mail.yahoo.com via HTTP; Mon, 09 Dec 2002 17:31:05 PST Date: Mon, 9 Dec 2002 17:31:05 -0800 (PST) From: Allan Tang Subject: data journal with XFS To: linux-xfs@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-archive-position: 2033 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: tang_lingbo@yahoo.com Precedence: bulk X-list: linux-xfs Hi sirs, I have a question about the data journal under xfs. As I know, xfs only do meta-data journal when user changed the FS. Then when I want to write about 200 bytes to a file, the system crash happened at this point. What will happen on these data? Is it possible to see the partial data in this file? If the system crash happened immediately after the write system call returned, Is it possible to see the corrupt data the next time? If we can't guarantee the data consistency, how to improve the reliability of data, use O_SYNC or other ways? Thanks for any help. Regards, Allan __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com