Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1023228ybl; Sat, 17 Aug 2019 16:40:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4i5ScEhqERnfjGnasO/Clb5+JJFDnX9v8o8gbo03PX/kWYHzFnA1wXJfXaAZgh1H1VAzM X-Received: by 2002:a65:4489:: with SMTP id l9mr14106571pgq.207.1566085225945; Sat, 17 Aug 2019 16:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566085225; cv=none; d=google.com; s=arc-20160816; b=jJX1sZsyxBiUQk6///2/MCeJT++gSs45ueKU+XSV05jByh+/h8creiAip6X/YF4HsE /qp7Hp08MbbA+qrCBnQiNtddlPRX5kBl5ykc50RD9aU3BhPpOKLvZhNci6q6y3zYMA++ pLyx4HxrQKpui7RAE3zm7c5xHFF96Rzmz2YkzZfJ001OFFLuycEbAxU0W7EBfu1uQT6/ u8GWvU3jMm6W/UjJEaMe9LSNAbHO4c06AVVwJyCXdFSOyqMBUa/LM+V9qUJXxzMRfY0J xqpb/eZgvKZi98CaFMIy3NZSM2B0LuYi1S2azY2FrjiiXsTT+OYaSa9NYwydIHa3fV8W 3mtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dNZpHSLd1MuwxobwDIzjjPQQ+9FM8pPg85T+oHS7F4A=; b=Y7E0MbYIJwJTI8qky3FbUtQZn4KI8fpvhXpEUibvYyvSjU5idE0MWDt+71kCquHzD1 T3wqkB66akGfYY4kbCk1AL0UtZQuhzuKXi3wHJEmlvvfFhRnJaeqaNufSh8bdzwCdDL7 g0Aaos8cLdHamEJTvUCynIRHwiAA+0bn+0sTfnaDC01FkVb+vXsMhOfVaLIyE18KaYTs z94tCAAnFvv5s731Q2pmngbFpZjb5Ed+geptpfNkh3eVMf2YwGflNnImlVtENI858izv hwftr+N+roup/9zOWQWy6paAyaXhWXHpF6U1CFXv57JdVyG2VkanRgCZmQcfqb8fbHCn p5eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=XxQf3c6G; 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=REJECT sp=REJECT dis=NONE) header.from=aol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16si7212173pfc.213.2019.08.17.16.40.10; Sat, 17 Aug 2019 16:40:25 -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=@aol.com header.s=a2048 header.b=XxQf3c6G; 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=REJECT sp=REJECT dis=NONE) header.from=aol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726286AbfHQXjB (ORCPT + 99 others); Sat, 17 Aug 2019 19:39:01 -0400 Received: from sonic313-20.consmr.mail.gq1.yahoo.com ([98.137.65.83]:38656 "EHLO sonic313-20.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbfHQXjB (ORCPT ); Sat, 17 Aug 2019 19:39:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1566085139; bh=dNZpHSLd1MuwxobwDIzjjPQQ+9FM8pPg85T+oHS7F4A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=XxQf3c6Gcb0YtoB6iBaRiEGqCsT1ErD/JcSy8yQ+BJzKBsJY8k2cmd5RM3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ZIY.KNHpwWtRD3vrN0FE7YAQLif4Ly8YriXzObRjGs hGt7S65J.zQVQaLevdR_0xAjFzfoPRUXm.hxosCj7paangwHwitjLZ2KwYqUUWePmFFKvdaFe3MX Yk6ZaKCa2V_Bpi4IyKoQy69OSs5AIIc0HU_K3C2jaM.HxXBcmxAOHTRb9pX7cIbfjUGAYDise5VU hQmNWc3tiUM.XTWayMWFWyghYJ_PhXZZhyV4H_AadKU6RmRdxyKB7gVZU4l2O3zmdCjnRzVY5zWU jZZk7EFVBCb9Tp79dPA1Dc.G1fOOvi2xdkfTHxNs8q03jedl.rBSvrUpXOE2jdEIiwoZ09WooofK HkGePYJ5pioTFtwMMnzRaxpqS4smZC0hKoOO8jyw9u.0b4mUnEWbfQDTNgKWwMfRwXQEBweXwrJ3 MGJ3u8i12VDKqcE.8ksDvij4ANqPtkRawhyf3JEYx6jSK751DtA9obXEvix5fFFlgZKXnkRYb4oQ zNdzA_HXS5n3R9kYTMW5NBwZ8RTqUcTVcIfA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Aug 2019 23:38:59 +0000 Received: by smtp425.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 00b0015a4452c970986fbbd4b408816c; Sat, 17 Aug 2019 23:38:56 +0000 (UTC) Date: Sun, 18 Aug 2019 07:38:48 +0800 From: Gao Xiang To: Richard Weinberger Cc: Greg Kroah-Hartman , Al Viro , linux-fsdevel , devel , linux-erofs , linux-kernel , Andrew Morton , Stephen Rothwell , tytso , Pavel Machek , David Sterba , Amir Goldstein , Christoph Hellwig , Darrick , Dave Chinner , Jaegeuk Kim , Jan Kara , torvalds , Chao Yu , Miao Xie , Li Guifu , Fang Wei , Gao Xiang Subject: Re: [PATCH] erofs: move erofs out of staging Message-ID: <20190817233843.GA16991@hsiangkao-HP-ZHAN-66-Pro-G1> References: <20190817082313.21040-1-hsiangkao@aol.com> <1746679415.68815.1566076790942.JavaMail.zimbra@nod.at> <20190817220706.GA11443@hsiangkao-HP-ZHAN-66-Pro-G1> <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On Sun, Aug 18, 2019 at 01:25:58AM +0200, Richard Weinberger wrote: > ----- Urspr?ngliche Mail ----- > >> How does erofs compare to squashfs? > >> IIUC it is designed to be faster. Do you have numbers? > >> Feel free to point me older mails if you already showed numbers, > >> I have to admit I didn't follow the development very closely. > > > > You can see the following related material which has microbenchmark > > tested on my laptop: > > https://static.sched.com/hosted_files/kccncosschn19eng/19/EROFS%20file%20system_OSS2019_Final.pdf > > > > which was mentioned in the related topic as well: > > https://lore.kernel.org/r/20190815044155.88483-1-gaoxiang25@huawei.com/ > > Thanks! > Will read into. Yes, it was mentioned in the related topic from v1 and I you can have a try with the latest kernel and enwik9 silesia.tar testdata. > > While digging a little into the code I noticed that you have very few > checks of the on-disk data. > For example ->u.i_blkaddr. I gave it a try and created a > malformed filesystem where u.i_blkaddr is 0xdeadbeef, it causes the kernel > to loop forever around erofs_read_raw_page(). I don't fuzz all the on-disk fields for EROFS, I will do later.. You can see many in-kernel filesystems are still hardening the related stuff. Anyway, I will dig into this field you mentioned recently, but I think it can be fixed easily later. Thanks, Gao Xiang > > Thanks, > //richard