Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp482625ybe; Mon, 2 Sep 2019 04:54:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUnIkt7hwYuwfHbAs9S7NXUls2Jm0VTloDWdYaDfg5bjjUcGQRp2PsW6v8ZQO0PjucUxEK X-Received: by 2002:a65:6281:: with SMTP id f1mr23373390pgv.400.1567425239947; Mon, 02 Sep 2019 04:53:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567425239; cv=none; d=google.com; s=arc-20160816; b=Gu/pRIxtQaf5i3mGaX0TK8wgd4fU1lgpW413uQDGQhlDshX7hX2owI1k+c2gPInKz4 Sx99mtAOUUTdl79uCEwkvHDvnR0RKZ45wYuGhxzTVpQywjHdP6J5WWS15fYC1ZvVpP+/ CJAuuGr+t2eHy5UIYcTxyIg/TXBX+QskNOWtESx44+I9dWNS8jWCxnE1K0cO3A5L0H3G lAlL1oGKQM8NjXcX5mauxcFX/K6pX4VAvG0JaMsHe07gXus5uTcX10hLngqe6Fk9zHp6 b1AaFL9De1PeNKZrTzsQXE7cxNJSoBz6OADUbvtQfQn9Ubuq8cldiktBKbkK972CXY/Q BL1Q== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9bu6SFJi+14/YqdcrHFf3UiI/9fRHZhSAW9qXA6xz7c=; b=KjGdzJyatf1olC+PUyh3INtchKkis+s1QJ3yMSbDUGu+RZwa1wMl5ti9kB/RI0UgrH EsD8JgNCv112SXYVPML//VuJcMj74CiyxS5TzsmCWQhzq/WfzyAV49lXECkdCSBC1aVH 2/fKUoXZreVbtDndQSSxkj6oi4RilWVAS4EgcR3N15R0EoAknUpxemKcZ7cFUpSZRoOs A5z0s4oiKCErMg237lVmjBUmgw6o44BcG65hBwIlXXecO6cTmvAEn0hK3p9Ty4u5iEGo 5yeVOpBykEwsFfe4gAT+VTPwRRtkvGyjoNbL2c5JORv6NjPnaTYCUlA+1ERg+kbdkbM9 Jt1g== 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 r145si11425810pgr.553.2019.09.02.04.53.44; Mon, 02 Sep 2019 04:53:59 -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; 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 S1731032AbfIBKgJ (ORCPT + 99 others); Mon, 2 Sep 2019 06:36:09 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3966 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729489AbfIBKgJ (ORCPT ); Mon, 2 Sep 2019 06:36:09 -0400 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 32EA73D857F82B433D68; Mon, 2 Sep 2019 18:36:05 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Sep 2019 18:36:04 +0800 Received: from architecture4 (10.140.130.215) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 2 Sep 2019 18:36:03 +0800 Date: Mon, 2 Sep 2019 18:35:12 +0800 From: Gao Xiang To: Pavel Machek CC: Christoph Hellwig , Alexander Viro , Greg Kroah-Hartman , Andrew Morton , Stephen Rothwell , Theodore Ts'o , David Sterba , Amir Goldstein , "Darrick J . Wong" , Dave Chinner , Jaegeuk Kim , Jan Kara , Linus Torvalds , , , LKML , , Chao Yu , Miao Xie , Li Guifu , Fang Wei Subject: Re: [PATCH v6 01/24] erofs: add on-disk layout Message-ID: <20190902103509.GA42552@architecture4> References: <20190802125347.166018-1-gaoxiang25@huawei.com> <20190802125347.166018-2-gaoxiang25@huawei.com> <20190829095954.GB20598@infradead.org> <20190902084020.GB19557@amd> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190902084020.GB19557@amd> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.140.130.215] X-ClientProxiedBy: dggeme715-chm.china.huawei.com (10.1.199.111) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, (Thanks...) On Mon, Sep 02, 2019 at 10:40:20AM +0200, Pavel Machek wrote: > > So __packed is right thing to do. If architecture accesses that > slowly, that's ungood, but different structures between architectures > would be really bad. (...a little word, it seems that Christoph was trying to say that it's unnecessary to __packed for this case since we designed most erofs on-disk format in natural alignment... Anyway, I updated, that seems okay...) Thanks, Gao Xiang > > Best regards, > Pavel > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany