Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4276840ybi; Mon, 3 Jun 2019 08:18:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqybp+DwId3yASuU+fWBmbhyn7s8jau8Y9G4xyRktTfxyYTQC1XlMrpTi1BcnHsaYuwXoxc3 X-Received: by 2002:a63:d615:: with SMTP id q21mr27395684pgg.401.1559575133953; Mon, 03 Jun 2019 08:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559575133; cv=none; d=google.com; s=arc-20160816; b=wPXSt1ABJt435nrS4DrPcC6ogRPXIGwMSX//JGF37f3alOw7B39FNt3sElLURkBPOB PFAu14O06bGYy23/n9XiFeN22R2fk2j5Mqr6t6A51VK4OGAyja73S4WDASSyDTZyBq3S kodRWnzxRPgGREv2b/X0HVW8sIAZTTZ/v7ZDYQRiPnvMmJG04L8gRY18v9fhKduMU3w0 xFIabLojPDbemOQSEgVnxXBLOJvz0IoylVXcpMQssLxwsx5FDr6jpBInczubhyWwCopu pUIpM9LY7uunXLUDfLfcqGm7z5B0Bzqy19DgfFBlfDUF4smPPecGfF5olKwxer+jZ5xV v9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=YBZvUdvT+YIUX3gm0WGiCiu+uP6hI+3Mjn6Ujup+utc=; b=SSzQu5UptgMRTDXL11AM7OSho2WjDPUfumvz0e9d+9ZMtyiIF6dGB4UxAcpufPAlxy 7mIk/XVdnNY/jJaDTJb35Avzk+eGfIIkPguY4b2lhe/jH3Ev7uWMpxSA2CtU7waWtX2k 4GbkXBxOPIbsPuUTwTorvfRMd0c8qhJkJuWCN4sPUGWlRV28bfGd5HRTus/g2o/A3hSu EPfoM/EMHfuIqxJOxd3F27Ffnbjgc5AfOzyr/KfAH8oHGSsPCW3GT8z5HUN3swTnjPBZ 69qibmXAdG8nelv9cgEUygVyl7dWsQK8ja23gE8gJs4myFx+uWiKEjlq5wWb9tRL3j/l BSAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TpgLbiVs; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si17516865plo.363.2019.06.03.08.18.37; Mon, 03 Jun 2019 08:18:53 -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=@kernel.org header.s=default header.b=TpgLbiVs; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729340AbfFCPPu (ORCPT + 99 others); Mon, 3 Jun 2019 11:15:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:57318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729081AbfFCPPt (ORCPT ); Mon, 3 Jun 2019 11:15:49 -0400 Received: from [192.168.0.101] (unknown [58.212.135.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 296B524CF1; Mon, 3 Jun 2019 15:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559574949; bh=54oATYsXXJ8P2M14fItKq+XktmeWUBPg/oIseVIgycE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=TpgLbiVsdpdF49lOLEgS3pAq5qsVYM50r0Mf7QmMNRzjzT8t79qh6m4Fskm/t1uYo r1bBMKVQe/rmg2KBYIAKSwupUWc1XTvQ+PDNJhfTfzkQpaI1dEC/Plups1LVSK0PPR dZ1+o65toz9AvGiaT+4WjOIPD47zO+vVeIiX0Bc4= Subject: Re: [f2fs-dev] [PATCH v3 4/4] f2fs: Add option to limit required GC for checkpoint=disable To: Daniel Rosenberg , Jaegeuk Kim , Chao Yu , Jonathan Corbet , linux-f2fs-devel@lists.sourceforge.net Cc: linux-fsdevel@vger.kernel.org, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20190530004906.261170-1-drosen@google.com> <20190530004906.261170-5-drosen@google.com> From: Chao Yu Message-ID: Date: Mon, 3 Jun 2019 23:15:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190530004906.261170-5-drosen@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-5-30 8:49, Daniel Rosenberg via Linux-f2fs-devel wrote: > This extends the checkpoint option to allow checkpoint=disable:%u[%] > This allows you to specify what how much of the disk you are willing > to lose access to while mounting with checkpoint=disable. If the amount > lost would be higher, the mount will return -EAGAIN. This can be given > as a percent of total space, or in blocks. > > Currently, we need to run garbage collection until the amount of holes > is smaller than the OVP space. With the new option, f2fs can mark > space as unusable up front instead of requiring garbage collection until > the number of holes is small enough. > > Signed-off-by: Daniel Rosenberg Reviewed-by: Chao Yu Thanks,