Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261175AbVCLKBo (ORCPT ); Sat, 12 Mar 2005 05:01:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261176AbVCLKBo (ORCPT ); Sat, 12 Mar 2005 05:01:44 -0500 Received: from smtp3.Stanford.EDU ([171.67.16.138]:58022 "EHLO smtp3.Stanford.EDU") by vger.kernel.org with ESMTP id S261175AbVCLKBn (ORCPT ); Sat, 12 Mar 2005 05:01:43 -0500 Date: Sat, 12 Mar 2005 02:01:34 -0800 (PST) From: Junfeng Yang To: jfs-discussion@lists.sourceforge.net, Dave Kleikamp cc: Linux Kernel Mailing List , Subject: [CHECKER] fsync doesn't sync data properly (JFS, Linux 2.6.11) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 21 Hi, FiSC founds a potential error on JFS (Linux 2.6.11) where fsync doesn't properly flushes out file data. Crash after this fsync causes data loss. The test case can be found at http://fisc.stanford.edu/bug9/crash.c To reproduce it, download and compile crash.c, and run it on a fresh jfs partition. File /mnt/sbd0/0006/0010/0029/0033 should contain -23,-69,101,-119, However, the crash-recovered version contains all 0s. Please let me know if you need more information. As usual, confirmations/clarifications are appreciated, -Junfeng - 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/