All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Yu <yuchao0@huawei.com>
To: Ju Hyung Park <qkrwngud825@gmail.com>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH 2/2] mkfs.f2fs: make the default extensions list much more sensical
Date: Wed, 29 May 2019 09:57:18 +0800	[thread overview]
Message-ID: <e86cf461-42e0-197e-82de-e7acbf4bfe62@huawei.com> (raw)
In-Reply-To: <CAD14+f0F0aeqaJMFqoQTBY7wjqAF2H98+Ruvsd3Xd_Wuua8mkw@mail.gmail.com>

Hi Ju Hyung,

On 2019/5/28 18:28, Ju Hyung Park wrote:
> Hi Chao,
> 
> On Tue, May 28, 2019 at 7:19 PM Chao Yu <yuchao0@huawei.com> wrote:
>> How about adding below extensions:
>>
>>         "zip",
>>         "bin",
>>         "dat",
>>         "txt",
> 
> zip is capable of random updates. I didn't add bz2 for the same reason.
> But I do agree that most users won't be constantly updating zip files.

Yup, I think the most possible case is using zip/bz2 to pack log files or for
some downloaded resources, which should be write-once file.

> 
> I personally use my Android device with zip treated as cold, but I'm
> not sure if it makes good sense to make it as the default that's
> supposed to run under various scenarios.
> 
> How much different is the random write performance from cold to hot?

We use different write policies: trigger OPU for hot data mostly, and IPU for
cold data, so performance is quite relating to the test scenario.

> 
> But I'm against the idea of adding the rest 3 extensions.
> "bin" and "dat" is way too generic. You wouldn't know if a program
> happens to heavily update files named .bin/.dat.
> 
> For txt, it won't be uncommon for a user to update it frequently.
> Moreover, most txt size is pretty small anyways.

I think your concern is right, those extensions are too common and it needs to
consider various platforms instead of just android. So, let's leave those three
extensions.

Thanks,

> 
> And finally, circling back to your original concern, we should be more
> careful adding extensions as there's a limit.>
> Thanks.
> .
> 

  reply	other threads:[~2019-05-29  1:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16  6:43 [PATCH 1/2] mkfs.f2fs: make extensions list easier to read Park Ju Hyung
2019-04-16  6:43 ` [PATCH 2/2] mkfs.f2fs: make the default extensions list much more sensical Park Ju Hyung
2019-04-16  6:49   ` Ju Hyung Park
2019-04-16 20:39     ` Jaegeuk Kim
2019-04-17  7:14       ` Ju Hyung Park
2019-04-17  9:41   ` Chao Yu
2019-04-17  9:54     ` Ju Hyung Park
2019-04-17 10:44       ` Chao Yu
2019-04-20  2:14   ` Chao Yu
2019-05-28 10:19   ` Chao Yu
2019-05-28 10:28     ` Ju Hyung Park
2019-05-29  1:57       ` Chao Yu [this message]
2019-04-17  9:33 ` [PATCH 1/2] mkfs.f2fs: make extensions list easier to read Chao Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e86cf461-42e0-197e-82de-e7acbf4bfe62@huawei.com \
    --to=yuchao0@huawei.com \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=qkrwngud825@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.