Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp657953imm; Fri, 10 Aug 2018 19:51:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxmAEViNVMKrwLjDr23C7hARFmvr6QzxPvlO5q9dQ0nilOxejj4eTZ54CTl2rk7O6xSlff/ X-Received: by 2002:a17:902:ba88:: with SMTP id k8-v6mr8307823pls.259.1533955897240; Fri, 10 Aug 2018 19:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533955897; cv=none; d=google.com; s=arc-20160816; b=yx2IPRfejA6jlHUH96IoQrnhlOSLsZ6uLR6BRJ/5p3dMSy3+whQyStG3UgJY6exWs2 YGPo+fKDAmR3t2i4/Bn3IApRMxMtQIKMMIZ/eWCCaBoEfLfuJQCFpJ5YuEz+SL2LVRtu KDSGNk2R6xO+2NvyD8EZfb1uwjOABrP/hd2Zkc7CKsj8U81sLKXTk4S0zhvKhk5cN/S5 0oApuucTdEQCWGhlyH+MpoODGO8NKI9FVMt3Yd0G+m4XAdyLtE7HwWNz7PZmMINehiw/ zzEVGrhp48w9Fi8GQMl5agNRW6Q+op/6JbWdcTzVIPl1ljF+1GaRPvKTHGW/T/B9kOLH gw4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=hnzYgA6uCwW08Ug9p00hDteCJhVAynNSJJOUtsY8aP0=; b=hu70e1y+RBU76J4Agkmd8l0A87YaEwlcM4DMXdIOSwPvEq/DQ4srq/EoepXTDo3800 zf5rRTvY8T3+9QyLx/sPOwqb6jke63pfS+xsXiPS9N7M5T+b7OTol9fPxIyyoqoh74nj EHQTpmlbGy2brLAyylfCO/Y8+RwO48czMn3UxPysjOkg01lkqSDX2kT8g4S2ZDludmTH vOWwBNpbaT5HQUsnxO/xEujxGOTn+TUeps7O/BQy/NgXTveAY/x3JHGrzkJ9WlNpeu2b sA/HkfxPKTA+RQWTH8C7aiBmtwtizCoDe4uAtn59xqcPc033OCu4LzzivII+foCEQtF/ uiDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ExkWi+Kn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4-v6si9360362pgr.167.2018.08.10.19.51.22; Fri, 10 Aug 2018 19:51:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ExkWi+Kn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727251AbeHKFXD (ORCPT + 99 others); Sat, 11 Aug 2018 01:23:03 -0400 Received: from mail-pg1-f179.google.com ([209.85.215.179]:41626 "EHLO mail-pg1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727093AbeHKFXD (ORCPT ); Sat, 11 Aug 2018 01:23:03 -0400 Received: by mail-pg1-f179.google.com with SMTP id z8-v6so5178005pgu.8 for ; Fri, 10 Aug 2018 19:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=hnzYgA6uCwW08Ug9p00hDteCJhVAynNSJJOUtsY8aP0=; b=ExkWi+KnOI76hi36jb9qEcO63Qxdq9XY0ZDeElrNwKPrZ9oUEqXmScUmoD93GM6sy8 iEk3zRVDpEeQNV84DDtaeOfatorUK7FNFcwMYu8jEBECXTAxb3svMvA9sKXIYx+jpDvD VgRe3WPnsBPDiV+ZC6+TknXit6c/CXBk4UpNIDobd08XsL1mLPVBU8bwZ9rr+fz3o5I8 4uv5mNXuq0qK9qvTa4JqkjbNbVZH39WAWkdTyJfcReRx9C6XeyYT5V4cyBtGXFXK8J1i XjkDNSwggZgW0w5mraGViTGc9LIL+nEA5juZnoYvgxoX8UI+58Epl5MZRtFuE3XqcOdN UcLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hnzYgA6uCwW08Ug9p00hDteCJhVAynNSJJOUtsY8aP0=; b=cyzqEOmbzRQcTNzbHpB/HSM1OasbiUpYkwn9DiDgjOcZskE8TuPr5E7Ut5thRZi6Gw 6dbwAsS8ZZIHvNeBVfkoUvZzSjUdXhi6OylE9PdLDQQqfl3pgj3r/nv+1ZVI1++qrhup +rhM9SokjpYw8kuyJb2z5fe+1O1x0OeS6h7JjmuouuBl4qGLyGl5ao53jCzPTkyyHPqA 9lPGEvY+dKZB8qUngUd0zcBfN0YcdPf5R7zT5PKFSqHaVNkObDiANRhRq1mO8HScIi88 OywwfA8mj7gwp7e2nKS7SyaYEnZBvYCQaEv9fIKBLlNW9n15drNHnPoa2qTQubWrC0Hg XiUQ== X-Gm-Message-State: AOUpUlG/c2GURC4s4RuYvnzxWICj3T0DU/AaaSKb+KuUu4B/hfeB6Hi7 fQXDXGVa+f9REDDhXKTwj0IlBA== X-Received: by 2002:a62:b29c:: with SMTP id z28-v6mr9689604pfl.8.1533955831092; Fri, 10 Aug 2018 19:50:31 -0700 (PDT) Received: from drosen.mtv.corp.google.com ([2620:0:1000:1612:726:adc3:41a6:c383]) by smtp.gmail.com with ESMTPSA id r81-v6sm16674925pfa.18.2018.08.10.19.50.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 19:50:30 -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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.