Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp633397imu; Fri, 9 Nov 2018 03:39:41 -0800 (PST) X-Google-Smtp-Source: AJdET5co1vTvlrsBp3IdzABKm0FYMJItz5P17QSYUq+JEPjCt8/7bEjYVlAjuBOdHGQKNLoduB85 X-Received: by 2002:a63:1560:: with SMTP id 32mr7016861pgv.383.1541763581391; Fri, 09 Nov 2018 03:39:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541763581; cv=none; d=google.com; s=arc-20160816; b=0EmzB6p+ndQfltM9nf48irYnZCUKCDBbGFKBndTLc95Z/NED4KqB5Y4POuV6wwEIet pi0XVXHZ/X+WoXT1nWQ6A9GFKoBJYzKc7Bn3gNv/D/sAgp+s0fDmw4cUyCR6sregKIGl QF9pOQx1BVbkZ6mJkeEpKbk7cjCH0SXUwNyftsp5INPwrme2Qpnb7KNmRM+/J6ztoMjG qlnfrREheBDlaLNgb0pRWqdt7pHCg3zLoUfrizbmXUWerD7BBjlM0xaB+8frQE7H0qYb VdDqu2/FLgLHwLKJJfVv24/yMlyB0sitDVEYZg4jR/ejzzVeGk/7k+uPbzR/KjGYuabi mvCA== 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:in-reply-to :mime-version:user-agent:date:message-id:cc:from:references:to :subject; bh=g6X8xoQ/ing6SPuh7YOT7K8fMw8dnmHAKu/IBM8k1qQ=; b=Y7w1PGVXg2abJKjOGj8taK12mDXHhzyK7IGexswFmn7qpN5i2MpymiZ1+wVwviPIgT /dicgH0RHztBhrZlGTdGmKsc0hhGZLctRGrhW+PO1IyfSEwqn/MbxEd4bnRULPRlylzl CYHZPR51scoOulcRfKtXG9VT6QI39Owozx7IfzHQoufA6aPzoNNzBXU/TCGaoKBlBbXs uRb/Nmdzny2993nKWFRwrFds6IMO/6tBvKLY+2ighKhBzPElm5BJiDZPT34IJ/NpCa65 BoPQSCYpTz50zyk2GalVPkIlG7YwEbk5kSNKQ10DZv9K7K6lziyb+WzVYsIUaumVzuSh Zh7A== 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 w5-v6si6087099pgj.506.2018.11.09.03.39.24; Fri, 09 Nov 2018 03:39:41 -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 S1728238AbeKIVTS (ORCPT + 99 others); Fri, 9 Nov 2018 16:19:18 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:34719 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727596AbeKIVTR (ORCPT ); Fri, 9 Nov 2018 16:19:17 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D536CD7FB8133; Fri, 9 Nov 2018 19:38:57 +0800 (CST) Received: from [10.151.23.176] (10.151.23.176) by smtp.huawei.com (10.3.19.212) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 9 Nov 2018 19:38:49 +0800 Subject: Re: How can I get user space tools of erofs? To: cgxu519 References: From: Gao Xiang CC: Gao Xiang , , , LKML , "Greg Kroah-Hartman" , "liguifu (C)" , "fangwei (I)" , Chao Yu , Miao Xie Message-ID: <923d8f98-bd0c-47e1-63a5-512547d6a77d@huawei.com> Date: Fri, 9 Nov 2018 19:38:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.151.23.176] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chengguang, Good question! It's in the final stage of preparation to open source erofs-mkfs (actually they are now struggle at how to properly spilt into reasonable patches this week), hopefully the implementation could be released at the next week. (sorry I didn't mean to delay, I have to put it in the first place --- successfully launch our linux-erofs products to the market) @Guifu Li is the original author of erofs-mkfs, he will post the original mkfs source code to linux-erofs mailing list and he will maintain erofs-mkfs together with @Wei Fang later. You can contact them for further informations. --- these piece of code is actually not clean enough (a lot hacked/dirty code compared to the kernel code) so a lot of cleanup will be done then. currently, you can get erofs-mkfs binary from (still sorry to say that...): https://github.com/hsiangkao/erofs_mkfs_binary erofs is now in productization for these months, if all things go well, you'll see that HUAWEI mobile phones on the market run in erofs in few months. :) These months I'm busy in solving bugs found by internal beta users and tuning memory policy in heavy memory workload for the best performance compared to ext4 (we have native in-place decompression compared with squashfs/btrfs, thus less extra memory allocation results in lower memory memory reclaim / page-writeback for devices with limited memory, see: https://lists.ozlabs.org/pipermail/linux-erofs/2018-August/000494.html) in order to gain the competitive user experience comparing to uncompressed filesystem solutions. I will update a document to describe our core design and linux-erofs future roadmap in this linux-4.21 round. Thanks, Gao Xiang On 2018/11/9 16:37, cgxu519 wrote: > Hi Xiang, > > Could I ask a simple question about where can I get user space tools(like mkfs) of erofs? > > > Thanks. >