Message ID | 20230609093125.252186-16-aleksandr.mikhalitsyn@canonical.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp842935vqr; Fri, 9 Jun 2023 03:23:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dTRr/8dhY8YS66F/9V7VbGL55Cy3OhMB5+oaANWJv6AgD4OUIt0361wZMrBncMzodU8as X-Received: by 2002:a05:6358:b513:b0:129:c8e2:e7eb with SMTP id de19-20020a056358b51300b00129c8e2e7ebmr816299rwb.27.1686306202871; Fri, 09 Jun 2023 03:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686306202; cv=none; d=google.com; s=arc-20160816; b=wpNp6HNdwPziTv7ocX27FRK7MG6Qf6I8fy6IMsfRn//vTqm4kDLoxSUs8xxgPho5Ky /RZ4YFKeJR0KMtOTreoyn0rlF1m54LzT5iqJvLaNBiSqLwBtZhlHXYjL5q9KC3a3RLYx ugD+YhYMtR1411tiK6El9DLuvuwaCSO4RzP2mFweVcfUnPmmxlqQuGc3n045U9cB3XQd 8+KTVFq6AoMXpWW6Z76Q8ORg3uRwtzHlt1+CFJoCNteMFUBAsRjMGmAVODxydy6lTTUi tntAUTWMg7eUI6+SeMVdkZEaVSO7m69UeHdtGjxjJjz8+g82IteplAkosdCNpG/a74pd fdlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QbGnheXMoUoU7EuOckcncmKJSqs6BTa9rIJEwkbRpgw=; b=UPjHRKCxzBzIIGi+fDuosidVEC/lWMI74Rgz5Or4AJne7H0XD7Ycv93HLZTmBoGZ6m iE9Syzl/nyqseu7xCYLVBs9jCxiD8Nl1IXkEL6E1YGBmsQdL9YQsKKegi9r9BoZ+J6lj ifC9sgrapCicYNd3g77Z2QUFe1sKE8Uuu9Sg/QwkPJVGf9qIHR22GScZJEaSwZH8hANj YR3QMHrdun5HuXZ94Y+xM6IeU50omI8/479zJ9DwaflHpDHlPSohEA/7SiX2gGtHErn/ YDddiFlTjskIkLfdjZlGWlme+zQFhErmWchTveF/fe9Rf11PVhUehrLou2uQg/18+1qv uM1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=EG7qu+ND; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a63af53000000b0052c688e6608si2429870pgo.505.2023.06.09.03.23.10; Fri, 09 Jun 2023 03:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=EG7qu+ND; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240609AbjFIJ6V (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 05:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241817AbjFIJ5t (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 05:57:49 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B4AA4ED1 for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 02:49:47 -0700 (PDT) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 59A493F37E for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 09:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686303193; bh=QbGnheXMoUoU7EuOckcncmKJSqs6BTa9rIJEwkbRpgw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EG7qu+ND7KZ2jzL4n1LGibYepg09OHojNkMC/cjHh6FgnVuPXt928enhmvpUPbjpY c8l4GAy8yhj+/11hdMKQodH0W7JJ26a23GJcuHetgomGmJ18UAxibtJop2K1Vbzh3r 08W2UYlCHPmbeGKPIjVf4KtpLblVXTHTC+GMPIdaBHSS8Pn0Zf5r1zfIPcDnFKDTFa Vjr64hJARBu0oD8+CsCGnO2Y5KVT2VodQkfzAFS3UfEKD4Qf0lbiiFKDx+5/Vjzhe7 RVFvPsGVNypHVjbMkZGBJTjSukVd0rbJ5aMvi56PJHRv7Y1ixaBtCkKLLnrj/Wa4PX /7jyOgcqeXtLw== Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9749b806f81so146531766b.1 for <linux-kernel@vger.kernel.org>; Fri, 09 Jun 2023 02:33:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686303193; x=1688895193; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QbGnheXMoUoU7EuOckcncmKJSqs6BTa9rIJEwkbRpgw=; b=UHCmAo91YXLn11wEOYMOUqR91fGLcH4kcPmwcMF/isra0In0KVMo5De0XG7HglzNuB OVd2S2ZYR0ZCPEus60idaqPcz1G8T+1IfsITJJwqR1I40FJoA7mjbPMFpf6384fV3puU RESgsRr8DonOYmvVU/Br1YClbMx53sn70qOqlpDTVVrQLJSQVRoe/yQWIhDEYmCQ+/oV J8csSW8gvXNpSngVvZ/0Ij4/09Go7T2DjjilD9MfOba1w9VQFlVRm7Bq/IVhqupaaGOE usgNhfQ5/SISSw5FWJtlZE6vMTh9GlPAT1y8qPsDunlEXx32b1p27DMMOTcgkoAkcKYj gm5Q== X-Gm-Message-State: AC+VfDzLKIFRog0TXa2l0fr8Ekutk9WGA0QM09lSsGEcLJHMWQycoIc8 Se/QajGTadW0tlnzrGLGMdu/l7v8J98w6iFbgY2P/uwyfHS5EEE5IfodAX+bA/yYawe5cmpvuZL HrvnJsagWqurVgklzJ3tODjazQqGn4nVx+2yMFK6Pug== X-Received: by 2002:a17:906:99c4:b0:977:4b64:f5e8 with SMTP id s4-20020a17090699c400b009774b64f5e8mr1032569ejn.57.1686303193183; Fri, 09 Jun 2023 02:33:13 -0700 (PDT) X-Received: by 2002:a17:906:99c4:b0:977:4b64:f5e8 with SMTP id s4-20020a17090699c400b009774b64f5e8mr1032559ejn.57.1686303193039; Fri, 09 Jun 2023 02:33:13 -0700 (PDT) Received: from amikhalitsyn.local (dslb-002-205-064-187.002.205.pools.vodafone-ip.de. [2.205.64.187]) by smtp.gmail.com with ESMTPSA id e25-20020a170906081900b0094ee3e4c934sm1031248ejd.221.2023.06.09.02.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 02:33:12 -0700 (PDT) From: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> To: xiubli@redhat.com Cc: brauner@kernel.org, stgraber@ubuntu.com, linux-fsdevel@vger.kernel.org, Christian Brauner <christian.brauner@ubuntu.com>, Jeff Layton <jlayton@kernel.org>, Ilya Dryomov <idryomov@gmail.com>, ceph-devel@vger.kernel.org, Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>, linux-kernel@vger.kernel.org Subject: [PATCH v6 15/15] ceph: allow idmapped mounts Date: Fri, 9 Jun 2023 11:31:26 +0200 Message-Id: <20230609093125.252186-16-aleksandr.mikhalitsyn@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230609093125.252186-1-aleksandr.mikhalitsyn@canonical.com> References: <20230609093125.252186-1-aleksandr.mikhalitsyn@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768220213076205981?= X-GMAIL-MSGID: =?utf-8?q?1768220213076205981?= |
Series |
ceph: support idmapped mounts
|
|
Commit Message
Aleksandr Mikhalitsyn
June 9, 2023, 9:31 a.m. UTC
From: Christian Brauner <christian.brauner@ubuntu.com> Now that we converted cephfs internally to account for idmapped mounts allow the creation of idmapped mounts on by setting the FS_ALLOW_IDMAP flag. Cc: Xiubo Li <xiubli@redhat.com> Cc: Jeff Layton <jlayton@kernel.org> Cc: Ilya Dryomov <idryomov@gmail.com> Cc: ceph-devel@vger.kernel.org Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> --- fs/ceph/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 3d6d0010d638..aabc8ac90ead 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -1581,7 +1581,7 @@ static struct file_system_type ceph_fs_type = { .name = "ceph", .init_fs_context = ceph_init_fs_context, .kill_sb = ceph_kill_sb, - .fs_flags = FS_RENAME_DOES_D_MOVE, + .fs_flags = FS_RENAME_DOES_D_MOVE | FS_ALLOW_IDMAP, }; MODULE_ALIAS_FS("ceph");