From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF7D0C433FF for ; Wed, 14 Aug 2019 14:10:56 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C32A206C1; Wed, 14 Aug 2019 14:10:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="KJXizmrv"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="hCNUPU8z"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g5oHTH7J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C32A206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1hxtzL-0007pD-M8; Wed, 14 Aug 2019 14:10:55 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hxtzK-0007oh-8l for linux-f2fs-devel@lists.sourceforge.net; Wed, 14 Aug 2019 14:10:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mPe9ARqrES1gnwqE4C0Z2IPnSqvv+rbRj+7dgNReoMA=; b=KJXizmrvYZHs/YtK8p3SyquzFS 0bTxdjANC9rwocMRLSelXLUN0jeZCwGBor+nsPm12G/w/uaqys2FoXIa/JDRsV5lslepnq3CggRwB 6whvR6Ylrh6IOUp0nP7MuecP5b8JDnHbMiIn6UEu/t3Hj73qi6Cxh98ME83syRiDLjZw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mPe9ARqrES1gnwqE4C0Z2IPnSqvv+rbRj+7dgNReoMA=; b=hCNUPU8z6laEODRXrU4tN+Dij1 MarQlkaAeHkofHX0SWunoNl8k4C0f7E9CQfwuwmT0dnwZ7e3Vqc/EwEXi0jZxZGh8Ep7bM1yioL5f BhU8+gYx9hh/+cSkDbyQ4gW2UZgw51G4FZWt3Fm6coXWUdYtii1p2rsXDlNDQJR0qwzA=; Received: from mail-vs1-f68.google.com ([209.85.217.68]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1hxtzJ-003VNx-25 for linux-f2fs-devel@lists.sourceforge.net; Wed, 14 Aug 2019 14:10:54 +0000 Received: by mail-vs1-f68.google.com with SMTP id 190so6269838vsf.9 for ; Wed, 14 Aug 2019 07:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mPe9ARqrES1gnwqE4C0Z2IPnSqvv+rbRj+7dgNReoMA=; b=g5oHTH7Jo1YwVFgcCPVE6Xn3pnvH3rqRpSmLEIq7Xz0o4zd9FToLuf7GTQfwEwyTvo rZjWZN/02t5kaxbfHLUlKAkB33PvpRC5wMp4jSKwKWSUpBh8cowMErZyay8F+67THHe1 rgSxfUB0RFKAb6z5rUihxzXLc6B/KzG8NmSeYU2bAot5oth0q8DKfLOps0UKpQYGkQFr L9OAhLsjf4lHF4DI+d2/wZG3GlEXKH41ftDeNSppQaPTCS0mbcXKpnEdeKVtqv21PCcJ djRf2cWMoh60f08mAz/1wGCSg+fIlTPJbIbypS2fi8RqDNzB0KUFQzgxeZVKV5Imj4Qt 5lUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mPe9ARqrES1gnwqE4C0Z2IPnSqvv+rbRj+7dgNReoMA=; b=ZTR03qxg8Ha2yKnH2TZDM+XpNl7iu2r5ZaloLqNlYzddFhP6U/Xk/ugncmzOpz13/o Yn0z4m67R8IA6j8CNI18MAv90mfiNmHd669XK3zOwaWpVbHdXmQvoekXPEkiCUOY5sDO 21iKu7XXyI5YYYapLgZvSRbDfFcwtNeBvgNzZm5rj99MwdLQhmRC815zaqbvBaofsIZ9 8U1HO+NMavz6DH52UeALIIYBJENuzl8hX6523u+Ndx93MkB8eEaZxOTvIHp8DqBViQLd /ufmnyOr8jWY5JxcnfvxpnMOWkEnuj954Krp6jODz/08VUsXxO2PhVNZFsx7rfMSliJg 9Kfw== X-Gm-Message-State: APjAAAUiNDn/KVY1TgGBTmo7pS/e7iZmJuOywcfAFx4+ytaTAk9OAmvK LxH3EvtJa6SMAgg6HveYVoCHU2RWGMDaWM6Ckqw= X-Google-Smtp-Source: APXvYqyeGEUnFNzaLJj/NZphh+9pteX8th3tkOdCBbRApujLVJORIB/4Osb4PWhSWQ6jMU7jt5UPEMOh/uiEEao4xb4= X-Received: by 2002:a67:3046:: with SMTP id w67mr15518617vsw.214.1565791846697; Wed, 14 Aug 2019 07:10:46 -0700 (PDT) MIME-Version: 1.0 References: <20190812225211.1737-1-qkrwngud825@gmail.com> In-Reply-To: From: Ju Hyung Park Date: Wed, 14 Aug 2019 23:10:35 +0900 Message-ID: To: Chao Yu X-Headers-End: 1hxtzJ-003VNx-25 Subject: Re: [f2fs-dev] [PATCH 1/2] mkfs.f2fs: add "zip" to cold data types X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hi Chao, /data/log isn't even here. I think it must be specific to EMUI. Thanks. On Wed, Aug 14, 2019 at 6:48 PM Chao Yu wrote: > > Hi Ju Hyung, > > On 2019/8/14 17:20, Ju Hyung Park wrote: > > Hi Chao, > > > > On Wed, Aug 14, 2019 at 10:47 AM Chao Yu wrote: > >> In android, as I see, most zip file is small-sized log type, and will be removed > >> after a roll-back, such as: > >> > >> time1: create log1.zip > >> time2: create log2.zip > >> time3: create log3.zip > >> time4: remove log1.zip, rename log2.zip -> log1.zip; rename log3.zip -> > >> log2.zip; create log3.zip > >> > >> I suggest we can keep zip type in android as warm type with IPU mode to avoid > >> fragmentation caused by small holes in cold area. In linux distro, I agreed to > >> treat zip as cold type. > > > > I actually thought your original suggestion of adding "zip" was to > > handle big zip files under /sdcard(/data/media). > > > > The one case you've mentioned will be entirely dependent on which apps > > user's using. > > Yeah, actually, now I didn't see much large zip file in my external storage, > most of them are xxxKB or xMB, some of them looks very old tho. :) > > > In case of mine, I don't have any zip files under /data that's > > seemingly used for logs. > > Huawei cell phone has log file with .zip/.gz type locating in /data/log/... can > you search that directory? > > If we relocate them into cold area, they will make holes in cold area crazily, > as they have small size and will be created/unlinked frequently. > > Thanks, > > > > > Thanks, > > . > > _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel