From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Chua Subject: Re: f2fs issue on linux-5.0.0-rc2 Date: Thu, 17 Jan 2019 19:34:19 +0800 Message-ID: References: <4ffd83a1-8599-5f39-1114-4f878dbfcc4e@huawei.com> 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-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gk5wV-0005B7-C3 for linux-f2fs-devel@lists.sourceforge.net; Thu, 17 Jan 2019 11:34:39 +0000 Received: from mail-wm1-f46.google.com ([209.85.128.46]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1gk5wT-00BxWN-Ei for linux-f2fs-devel@lists.sourceforge.net; Thu, 17 Jan 2019 11:34:39 +0000 Received: by mail-wm1-f46.google.com with SMTP id y8so683223wmi.4 for ; Thu, 17 Jan 2019 03:34:37 -0800 (PST) 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: Chao Yu Cc: jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net On Thu, Jan 17, 2019 at 7:33 PM Jeff Chua wrote: > > On Thu, Jan 17, 2019 at 10:00 AM Chao Yu wrote: > > > > On 2019/1/16 20:57, Jeff Chua wrote: > > > This is on rpi3b+ running latest linux git pull, and root filesystem > > > is "read-only" ... > > > > Did you hit this issue after you upgrade kernel from lower one to 5.0? > > No, it was ok. Works perfectly. > > > Why there are dirty data/node in readonly filesystem? > > No idea. It's fresh boot up. > > > Could you try below commands to make sure where it actually crash? > > > gdb f2fs.ko > > l *(f2fs_balance_fs_bg+0x26c/0x2a8) > > l *(f2fs_build_free_nids+0x394/0x510) > > Ok, that will take a while. I'll need to revert back to pre-5.0 and > install gdb first and try to debug it. Oh, btw, there's no "f2fs.ko" ... f2fs is compiled as built-in instead of a module. My best., Jeff