Message ID | 20230609093125.252186-16-aleksandr.mikhalitsyn@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fsdevel-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C904C7EE25 for <linux-fsdevel@archiver.kernel.org>; Fri, 9 Jun 2023 09:43:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241836AbjFIJnA (ORCPT <rfc822;linux-fsdevel@archiver.kernel.org>); Fri, 9 Jun 2023 05:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241849AbjFIJm3 (ORCPT <rfc822;linux-fsdevel@vger.kernel.org>); Fri, 9 Jun 2023 05:42:29 -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 9389E184 for <linux-fsdevel@vger.kernel.org>; Fri, 9 Jun 2023 02:37:07 -0700 (PDT) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (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 908A53F383 for <linux-fsdevel@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-f69.google.com with SMTP id a640c23a62f3a-97888a89775so146857666b.0 for <linux-fsdevel@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=HeVhvWmH+y3MalNBQf2dW8dCZkJHdbz7DCdh7X0mLsEgUNCgLM38PMgBwMuGjowcjK Zw1FsEfnXP0B5GX+luMwAG6uY8XBEO1qE1HKtfFaJbZTd3RIhOjS941KrBRfKuT5I1yj rjJOGSoa6jzR3TBHnzbTBw6ZS+gSfMZbNriyYNM3Q6Zs67U/vWWhF1XZhUkMRdnmEBzS V40ErD2bTNQ79+8+vFMtrOTMaBpZdXAQkRUFhbYD3IT/A3Oqc3zwV2K7qBYtAD7WLXc0 7fg6bBdjdBFhF9kmPftRzpFBuM1wM9DblC/VuseePVRbn7N5T4t8gHcJ+vZoCywFtjXg piRQ== X-Gm-Message-State: AC+VfDx8ppoM2e21j0xHjas5K8GtMYWTY2NtvXVQZaB/QTxfqE+g+EVM exnXZOM6nWl0/LQcyn0AUUKf3vYbHxC8G9GNsxryTxeADK33CVR45XLdPr8NM/MNTwABA+2FeDI JWIUYwoTRBobHHWfmtsNNMXYJy/rZ8VueRFl50KmCdtM= X-Received: by 2002:a17:906:99c4:b0:977:4b64:f5e8 with SMTP id s4-20020a17090699c400b009774b64f5e8mr1032572ejn.57.1686303193186; Fri, 09 Jun 2023 02:33:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HU2v6WmrkMOTn6GRljmiRk69Tjcu7+OG5pBD1+ECabkYx/wfa5G2bflaMx7onYF4L2fcwKA== 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 Precedence: bulk List-ID: <linux-fsdevel.vger.kernel.org> X-Mailing-List: linux-fsdevel@vger.kernel.org |
Series |
ceph: support idmapped mounts
|
expand
|
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");