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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D41B3C433EF for ; Tue, 17 May 2022 15:43:59 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4L2gQQ2Zn3z3bwg for ; Wed, 18 May 2022 01:43:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=oHYpg1eI; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:4601:e00::1; helo=ams.source.kernel.org; envelope-from=chao@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=oHYpg1eI; dkim-atps=neutral Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4L2gQL62Lkz2yZv for ; Wed, 18 May 2022 01:43:54 +1000 (AEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5099DB81A0F; Tue, 17 May 2022 15:43:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38E4AC34116; Tue, 17 May 2022 15:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652802231; bh=Izy6TZfGaIzRY1Pn79tgD0UhJ4xSdDmIRaB4G29KIh0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oHYpg1eIXlXWIxkNISi8Q7gkc/zKuqBeSbJdtRoeIk4ByEIwPH3C7yZHEqXgzbTlS BEP9Bufmhpyj2rHhnwPJbmjde4BVNpHGUTFKd15O4BDWpMUyc4gKZIR9CxuT2D3fo5 XJ6fsJ5lFo7wmenRyebOSS+ISW0r1VNLJGhM+PlhymPYNu/x5TlsYAGPpF41Iy9JJ1 khjFILpzL7rYRVfixsWLTGLgioLiUmsjp6r44Jon5ifS78+NlZKNnBvZ61oDnUNzpf WkBAdeKNrFaVYgaWdAHjEwe870dDhFGv3R5ccoM8JVT5rhtkGzrtkPGnNlsee8XpuA nUD6DWnyQKEIA== Message-ID: <14e765db-5e51-9c17-3aa1-bddc1ba5bbb2@kernel.org> Date: Tue, 17 May 2022 23:43:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2 resend] erofs: make filesystem exportable Content-Language: en-US To: Hongnan Li , linux-erofs@lists.ozlabs.org, xiang@kernel.org References: <20220424130104.102365-1-hongnan.li@linux.alibaba.com> <20220425040712.91685-1-hongnan.li@linux.alibaba.com> From: Chao Yu In-Reply-To: <20220425040712.91685-1-hongnan.li@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On 2022/4/25 12:07, Hongnan Li wrote: > Implement export operations in order to make EROFS support accessing > inodes with filehandles so that it can be exported via NFS and used > by overlayfs. > > Without this patch, 'exportfs -rv' will report: > exportfs: /root/erofs_mp does not support NFS export > > Also tested with unionmount-testsuite and the testcase below passes now: > ./run --ov --erofs --verify hard-link > > For more details about the testcase, see: > https://github.com/amir73il/unionmount-testsuite/pull/6 > > Signed-off-by: Hongnan Li Reviewed-by: Chao Yu Thanks,