From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 200871] F2FS experiences data loss (entry is completely lost) when an I/O failure occurs. Date: Sun, 07 Oct 2018 01:50:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1g8yDX-0002va-9p for linux-f2fs-devel@lists.sourceforge.net; Sun, 07 Oct 2018 01:50:47 +0000 Received: from mail.wl.linuxfoundation.org ([198.145.29.98]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1g8yDV-00DdTu-EW for linux-f2fs-devel@lists.sourceforge.net; Sun, 07 Oct 2018 01:50:47 +0000 Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2956290BC for ; Sun, 7 Oct 2018 01:50:39 +0000 (UTC) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: linux-f2fs-devel@lists.sourceforge.net https://bugzilla.kernel.org/show_bug.cgi?id=200871 --- Comment #16 from Stathis Maneas (smaneas@cs.toronto.edu) --- I am sorry for the delay! I can definitely help by adding the aforementioned statements! After adding them and observing the output of dmesg, I can observe that only the second statement gets actually invoked: [ 1026.438986] f2fs_wait_on_node_pages_writeback, eio:0 Therefore, this indicates that the following condition is not true under the specified workload: if (unlikely(bio->bi_status)) { ... } I tried moving the first print statement at the beginning of the following for loop, bio_for_each_segment_all(bvec, bio, i) { ... } but still, I am not observing any errors for the segment (block) of interest: [ 76.603891] f2fs_write_end_io, ino:1, idx:4, eio:0, type:7 [ 76.603893] f2fs_write_end_io, is_dummy:0 bio_status:0 Is there something else we can try? -- You are receiving this mail because: You are watching the assignee of the bug.