From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f177.google.com ([209.85.215.177]:42310 "EHLO mail-pg1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbeHKFXD (ORCPT ); Sat, 11 Aug 2018 01:23:03 -0400 Received: by mail-pg1-f177.google.com with SMTP id y4-v6so5177571pgp.9 for ; Fri, 10 Aug 2018 19:50:31 -0700 (PDT) Subject: Re: [PATCH v3] f2fs: checkpoint disabling To: Chao Yu , Jaegeuk Kim , Jonathan Corbet , linux-f2fs-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, kernel-team@android.com References: <20180807234843.129387-1-drosen@google.com> From: Daniel Rosenberg Message-ID: <8fa37886-7eef-edca-ea14-9d3465efaeac@google.com> Date: Fri, 10 Aug 2018 19:50:28 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 08/10/2018 01:40 AM, Chao Yu wrote: > Hi Daniel, > > When filesystem is full, statfs shown abnormally as below: > > /dev/zram0 2095104 -17177769548 17179864652 - /mnt/f2fs > > I guess it's related to this patch, could you have a look at this? > > Thanks, > Thanks. It looks like I failed to check if we're running with checkpoints disabled inside of update_sit_entry when I updated the stats, causing it to underflow. I'll fix that in the next version.