Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp726158ybx; Tue, 5 Nov 2019 04:41:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyZlJbrdJ1fGobPH7bi9CwUM8PIzScxH94wKwRxQAt/3ZO/FXcnbmgKCSm5O/2Y2Qkx0pPe X-Received: by 2002:a50:b63b:: with SMTP id b56mr35554412ede.165.1572957688966; Tue, 05 Nov 2019 04:41:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572957688; cv=none; d=google.com; s=arc-20160816; b=oV33ktCpxnwTH4b33SIlPK2Vuyr8icG02kUEzZErcjYf5a6yMfB6zjydeFaLvQTw/j grAHAGAPimp4OGWX51vyo0UWmxi9eqDuBiTWqQnXPYa/NRye0gq2eUkWt1tYnBTvg5V9 vePppEMh3XsjbozdQXZ/0AM5V+s6A+8tNHlYZF8W74BT/+dLKYK3DBg7xt+cjdxS1KHN W7DS2aASxg34gXHEr4qWiwNR3r3zSR1mz/ESIjbbX6M52QFup8xDWcdc5L+Dv7ERA5YN 1RznQbR1g1+WGXCL87R+/J26QHyMZmGFCUZ8FozVJ4cDv73E46pe4JcYcN9BfrrmcOhE qvww== 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; bh=SL2nXvuOdWwR91x7wNSCPdDugtYS1KzZnYr90AgfTEw=; b=kimpTCnixY11QDZ3raRn4k7owxu7cUgSPkV5ZJV8I2B+sSLpxfIf6R4fsasS0GGZHQ F8NBJFpfbTrQD/PoSOZeFVuOipx/j5eCbrQ45X6MCXhvqcDUhF14lDLj2VdRdtlWGqOn 1iLboKSNp9YQRxTkErOONyR9zBJatY67t7gVkT7O9DkHHfLaFebKHkAmSYNvMSUzWO0c GHJ0cQ3ZF3UBp6xxhFJRW9hu5sjG3D5+ZSwVliRSQsX6a1CcuRk9cNtaxuLXItT1N2rE lp9D/lhiTROWKJ5rz3GKQSAUBYi/DUtUlN5c3vJq+yVQsKnJBaefLEKAHgiA3l0NPZZ7 867Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12si12971767ejj.40.2019.11.05.04.41.05; Tue, 05 Nov 2019 04:41:28 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388789AbfKEMim (ORCPT + 99 others); Tue, 5 Nov 2019 07:38:42 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:52628 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388494AbfKEMil (ORCPT ); Tue, 5 Nov 2019 07:38:41 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 647CA64E02946AEBC6F4; Tue, 5 Nov 2019 20:38:37 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 Nov 2019 20:38:35 +0800 Subject: Re: [PATCH 0/2] f2fs-tools: Introduce cache to speed up fsck To: Robin Hsu , , , CC: References: <20191029074659.165884-1-robinhsu@google.com> From: Chao Yu Message-ID: <4241b45c-1af4-5196-649d-c0132e64cb20@huawei.com> Date: Tue, 5 Nov 2019 20:38:34 +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: <20191029074659.165884-1-robinhsu@google.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, Could you explain what is the basic idea for this user-space cache? Thanks, On 2019/10/29 15:46, Robin Hsu wrote: > Implemented cache and related command line options. > > Robin Hsu (2): > libf2fs_io: Add user-space cache > fsck.f2fs: Enable user-space cache > > fsck/main.c | 27 +++- > include/f2fs_fs.h | 20 +++ > lib/libf2fs_io.c | 317 ++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 362 insertions(+), 2 deletions(-) >