From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D961C433DF for ; Sun, 28 Jun 2020 12:44:48 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 201C320674; Sun, 28 Jun 2020 12:44:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="HxUw4ZSm"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="VGifpd1C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 201C320674 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bugzilla.kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jpWfu-0007q2-NW; Sun, 28 Jun 2020 12:44:46 +0000 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 1jpWft-0007pq-Kb for linux-f2fs-devel@lists.sourceforge.net; Sun, 28 Jun 2020 12:44:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Transfer-Encoding:Content-Type :References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VQO8dp+d5r8iDVjflXCWY/33x/1V6of0nyZTYEIS98M=; b=HxUw4ZSmvyV83NT74rSQIozEjS YaJkxGgxYMjSWeJG0dIb1lKaZ7U4KSgnPhkSVHYRA3A0DGQH5qn4aByCwmFD3nzfboNvujac6RWZn ZuXmGenudOg/UBMs54Iud1qRmbRS0hGGPSsP5/sO+eg2aU/Fm3gtxbzwW8fc6t05hxk8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=MIME-Version:Content-Transfer-Encoding:Content-Type:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VQO8dp+d5r8iDVjflXCWY/33x/1V6of0nyZTYEIS98M=; b=VGifpd1C+vpkS/KEE/XICOhh3B iz77CAjpDNHbBEqSZbgZqxf8WDXjiGmkBJGcJzkhaPbZLPj7lHd2gMgy+zAFYh8Mbr1aZgbvxBkM0 Ez/R1a50Q+S6NTU5/IQfdNoBmcITR9OuOCPUvqH/Og5DAqvg6hCtSifYQX6BXNUV64G4=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jpWfs-003fJA-8S for linux-f2fs-devel@lists.sourceforge.net; Sun, 28 Jun 2020 12:44:45 +0000 From: bugzilla-daemon@bugzilla.kernel.org To: linux-f2fs-devel@lists.sourceforge.net Date: Sun, 28 Jun 2020 12:44:25 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo filesystem_f2fs@kernel-bugs.kernel.org X-Bugzilla-Product: File System X-Bugzilla-Component: f2fs X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chao@kernel.org X-Bugzilla-Status: NEEDINFO X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: filesystem_f2fs@kernel-bugs.kernel.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Headers-End: 1jpWfs-003fJA-8S Subject: [f2fs-dev] [Bug 208325] f2fs inconsistent node block X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net https://bugzilla.kernel.org/show_bug.cgi?id=208325 Chao Yu (chao@kernel.org) changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |chao@kernel.org --- Comment #1 from Chao Yu (chao@kernel.org) --- Hi, thanks for the report. What's you mkfs/mount option? I've no idea whether this is a f2fs bug or not, as you said device can be trusted, so almostly it should be a software bug. One case I can image could be that apps bypassing filesystem to write data via LBA directly, then data can be corrupted. If possible, could you please help to add below three patches to recompile the kernel https://lore.kernel.org/linux-f2fs-devel/20200628122940.29665-1-yuchao0@huawei.com/T/#t [f2fs-dev] [PATCH 1/3] f2fs: fix wrong return value of f2fs_bmap_compress() [f2fs-dev] [PATCH 2/3] f2fs: support to trace f2fs_bmap() [f2fs-dev] [PATCH 3/3] f2fs: support to trace f2fs_fiemap() Then, use below commands to see whether there is apps are lookuping LBA: echo 1 > /sys/kernel/debug/tracing/events/f2fs/f2fs_bmap/enable echo 1 > /sys/kernel/debug/tracing/events/f2fs/f2fs_fiemap/enable cat /sys/kernel/debug/tracing/trace_pipe |grep f2fs -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel