Message ID | 20230607180958.645115-15-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 k13csp392665vqr; Wed, 7 Jun 2023 11:14:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4jps2o7O2/hgNaqIq+XXquumVHjdxOvc5vCyk4u/7T0/zXhQOLnY6evzjzSNmX3Itf7106 X-Received: by 2002:a05:6359:6388:b0:129:bd03:39af with SMTP id sg8-20020a056359638800b00129bd0339afmr4852979rwb.11.1686161677370; Wed, 07 Jun 2023 11:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686161677; cv=none; d=google.com; s=arc-20160816; b=yVQxYLi/J8OxBTgCugy4Esx+KC7iw2BtX6Bi7Yic8VhjZRXLi4qbk3U0W/jarYBT9o W//AzfUO9Z7Z5B1DweA5EKrdnzB1JT7rTnk7GEk/Hi0Ly776xWVPI5gtmAmGMBBiGFBS raWjUvX5yH2LK2jLd5yZMoTldIXzDkw4pNX3WG9K9fgDuRNlfa2e39aXvpWb9oCKtj9F ro0SJxfu9nh1ZTlu6k2yEknaOWP928lfHNk3b0smGGe/BFQgug/S9AjFYk3HIcHajTHb f6dIaxmQJK+4kqU9uqEStVaR58bPAaJsw6Y6lnN/JsCQIxQ9H7XX8PlZt5kxl4CjKLu9 AEqA== 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=sitF6aKufbc7DklTCjus/+uMnJoHcKEt7G8gHEJda3g=; b=J/dbwJGVez4dfjbqxq1/3UvDZkvmXknD7gydg+6sMxEBafetz/LBjFKXP3C+qktOHx xuXgonEaeV+8zDNf8SZnNxCnv2wdM+q7SC9zcmrb7CxHXlTRuEpH1/+0j/WYc166grXG E9Qkb8ptUft74jS+BJ4OgflfEo0irykPCnLHcEFHJ1AwfnCQ0X31BD0RxcrFUDtyaVzD 4oLjp5/Kn3Wm4nFJIiYKTIKD71j+fOGxIgCz7QU55WMGupzwFs0BGvs9lzOPsTm/Fz5k pOIKJJluBPcQJv3qKnClOYZ6DcdQ2wBQJ3vrNwnfJxgonKhjSMjrk7ojLkVJuqMwbrDx DijQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=N7NNSLDJ; 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 q5-20020a656a85000000b0053481a225desi9317186pgu.340.2023.06.07.11.14.25; Wed, 07 Jun 2023 11:14:37 -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=N7NNSLDJ; 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 S230178AbjFGSLy (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 14:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbjFGSLK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 14:11:10 -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 728201FE6 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 11:11:07 -0700 (PDT) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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 6C2693F19A for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 18:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686161465; bh=sitF6aKufbc7DklTCjus/+uMnJoHcKEt7G8gHEJda3g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N7NNSLDJ2nftMuH2rWNI4p0YhHM5oYWx8agupH1lFLGYd1MM3feMEGYucrtbpmvQa fTQhi9NB/mE/H2zLuCPHSIixNJHs4TXTQsQSbR9vQJQfoZVpDfSjkXAYEDVelxumT7 ONwT8AaBiW0WJpv0+SC1BATzfZV27zu6MQ4kRQv6EMX11w2bi2F0VG7MqRyJlo0W05 00AxeXQsSvyfzA2ptRduOjOtXSJGehDk1vH4v88Um6jY/TkTnLXpmx1w2wDibGk1/2 7tHTRlGqWuO6SAD77WBisl3TC2jn+wrKciiBJLx/p37o7TJYxOgvSRYw5XBz42QpuU oM3esVZOPQ6Ew== Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-50a16ab50e6so1060370a12.0 for <linux-kernel@vger.kernel.org>; Wed, 07 Jun 2023 11:11:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686161465; x=1688753465; 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=sitF6aKufbc7DklTCjus/+uMnJoHcKEt7G8gHEJda3g=; b=UJm4fcf7vUUjFnQSGcQO6bNtooPHwp3vTyq5waXEV75IAaa3yqLk4aWiYOpdGSWGzn DvH7A6KXqStH+Q42UY8Ig/d+risMoXyae7FIiwBQqzT8abbz5YVOeaSlPqPGm8XrPhdc lt6Jg6zVA/o/NYtro2WNUdPs3GBKZghzdu1Yzs3BUgY6PaZNaE27+1feWzooCYZw9pBd +elk9ORAVyHaOV6i5frDn+P8XNWaEc1B4ac7sqE1U44c/jbR5+rrmMBW+RM66DSjnSwV xUBskheqqxz222/0K2KAVzZl6bxX7pqSYiwcDZgK0YK10nK19xzzEDtirkAwklJ3E6g1 Dn2w== X-Gm-Message-State: AC+VfDwzqSWk+k2H9N9e35F29HX1L+k6Peb6JPse5gX7b8TdxD+dF6Qn jZwRq+ibwpvLdqp+4SJiT+NK6vt37MN5RqFWhNpRCjRq9AB4deO1cS+XfnyhDdTk6JIrkYg2QAl WyZ/bly6df5ByNAyvEDzUWYv1wpbS0HdgqSwmlIMCHQ== X-Received: by 2002:a17:907:3f9a:b0:96f:8666:5fc4 with SMTP id hr26-20020a1709073f9a00b0096f86665fc4mr8344028ejc.50.1686161464806; Wed, 07 Jun 2023 11:11:04 -0700 (PDT) X-Received: by 2002:a17:907:3f9a:b0:96f:8666:5fc4 with SMTP id hr26-20020a1709073f9a00b0096f86665fc4mr8344006ejc.50.1686161464604; Wed, 07 Jun 2023 11:11:04 -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 oz17-20020a170906cd1100b009745edfb7cbsm7170494ejb.45.2023.06.07.11.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 11:11:04 -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 v4 14/14] ceph: allow idmapped mounts Date: Wed, 7 Jun 2023 20:09:57 +0200 Message-Id: <20230607180958.645115-15-aleksandr.mikhalitsyn@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230607180958.645115-1-aleksandr.mikhalitsyn@canonical.com> References: <20230607180958.645115-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=ham 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?1768068666431433084?= X-GMAIL-MSGID: =?utf-8?q?1768068666431433084?= |
Series |
ceph: support idmapped mounts
|
|
Commit Message
Aleksandr Mikhalitsyn
June 7, 2023, 6:09 p.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 3fc48b43cab0..4f6e6d57f3f1 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -1389,7 +1389,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");