Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp574307pxb; Wed, 22 Sep 2021 08:26:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtFSKbawENwCpSAoArVUqK7GQa4Up4UVD0jROYS8dw0qyPd1dM4zP2fYfm0HvEwV0+C6NB X-Received: by 2002:a05:6e02:20cb:: with SMTP id 11mr151950ilq.237.1632324360348; Wed, 22 Sep 2021 08:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632324360; cv=none; d=google.com; s=arc-20160816; b=ksyvzXd/V+fMXMVHu5Rq2y7POTzoQO5fYcdbCe0rDZwEI2Pgw6p8NU03bLX57oAeaW zlD55hMlSDADjBv5V/b7ZzyXYhK+yZp2L+GG9tbteXrN9U9zN4Lgw29g2Z8AJlR7j4DR 4VbISW0+nXAG0erLRDFUQMWH0AO5MfJeQrlriUPqM3VZRT4lyr4izVSBvBRbNtJ70u3S w58lCTsYh1uchQKlyo/sxRxTeOtjVxretVMdQhv2hdVT8ecIQl6vH1LxUukPKPKH7EJC YbqDZQD5i3c0k/MlHr9LACBU/+MvoDrABmw3SyFgR0H4zqqjF3BjFZftcsT6JRJt3OEQ /E4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=LMjlOJ1t0FktSX5butIuqaDOYt0LJpEiPab6bYeKa0Q=; b=zJ0RBITzWnLu7b8ONhm6m8QaebNRFeAhbwFRdZWmGuzHg3sQYn3SbWfJ1XymQrzRLz 540FowuZzTM09eZQE86GC6bmbbF9VX/Z0v/Ws3hKl8jZNnrkHSgb3X0gfHm4bp9ZkN54 NT8/KVmI4hojIopmiNJZokNJ0E7C6MjmknKmxJgnqRPc8ktsw2nmKnLIxC7kmTkjJpOy diUgS6wjn8+OHBE/5LVs4eQVXj1CLD6bhN377buVCt3FdbFR6s3X8CnJ9GHpqyRJ4U2+ M3ebUg2wjGiVRVPVwaHlmfA61g/vOCTW4K6OxuHEWb0t5FuiGTsSYRIJHiaq2iIeaTmb rWwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nq+UGdpu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j19si3463326jat.117.2021.09.22.08.25.47; Wed, 22 Sep 2021 08:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nq+UGdpu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S236416AbhIVPZN (ORCPT + 99 others); Wed, 22 Sep 2021 11:25:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:46792 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236304AbhIVPZM (ORCPT ); Wed, 22 Sep 2021 11:25:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51A62611EE; Wed, 22 Sep 2021 15:23:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632324222; bh=iQtZW7bI/BbYz50FbzeKEjP01m1V9pZsyCJK85pCxCk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Nq+UGdpuHjxkrO38TRVQ70c83KK9my+Fru9cYgbKriisyN2+PIHg1QjqDjs3BEmqk xOWIBexO75Wtav7mMxavaKWhDofU3umydS4ArZVNQXsRGdQp48XaboFV87U9X5uQSZ vPspefhIAEyirojJ/78FVJTGhIfBdRooGSoN+itn+ebpe4wgmK4/a0CfWz2QHVy1s5 lYxyQ501Vp8AVBeDG3WcMuLAxqfRoPLEiG8l2Fwb+UM5776TG8Hqq38lEnakAfcI2B 4SwmIM8SPJeYAG5/kGXzFkHjkuuE4NGojvrg8NQ8zQckQlgEOgOt67eJD7Nllcatny Ndof6jlzjntsw== Subject: Re: [f2fs-dev] [PATCH v4] f2fs: introduce fragment allocation mode mount option To: Jaegeuk Kim Cc: Daeho Jeong , Daeho Jeong , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20210902172404.3517626-1-daeho43@gmail.com> <9f4a2954-e8c9-abc5-5df4-a7cec53433a3@kernel.org> From: Chao Yu Message-ID: <6c592379-104d-8975-4385-9778f23cda56@kernel.org> Date: Wed, 22 Sep 2021 23:23:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/21 6:57, Jaegeuk Kim wrote: > On 09/12, Chao Yu wrote: >> On 2021/9/11 7:13, Jaegeuk Kim wrote: >>> Wait. Why do we need to add so many options here? I was expecting to see >>> performance difference when getting random segments or random blocks as >>> an extreme case. I don't get the point why we need the middle of those cases. >> >> I guess we can simply the aging test procedure of filesystem by changing a bit >> based on this patch. > > My question was on "fragment:fixed_block". This mode can be used for below filesystem aging scenario. Fragmenting filesystem with specified pattern: 1M chunk | 1M hole | 1M chunk | 1M hole | ... e.g. Before 1. create/write 10 1M files: file0 file1 file2 ... file9 2. remove file1 file3 file5 ... file9 After mode=fragment:fixed_block fragment_chunk_size=1M fragment_hole_size=1M 1. create/write one 10M file Thanks, > >> >> See comments in below thread. >> >> https://lore.kernel.org/lkml/425daf77-8020-26ce-dc9f-019d9a881b78@kernel.org/ >> >> Thanks,