From patchwork Wed Feb 23 01:04:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiubo Li X-Patchwork-Id: 545307 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C514C433FE for ; Wed, 23 Feb 2022 01:05:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236545AbiBWBFl (ORCPT ); Tue, 22 Feb 2022 20:05:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbiBWBFk (ORCPT ); Tue, 22 Feb 2022 20:05:40 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F93D366BD for ; Tue, 22 Feb 2022 17:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645578313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vo4M7x0C3mBsJ6yx1uRABK5PjJqP98BoWApJUUePGFQ=; b=DiGuSV5TtwxPb9LY8udrhn/TfudSLx3+8tvy+ySERRk7mFcz+C34xaU2l68Awuxcy/zS9N icul5ulKeZUc/ZUQVPr3V810LGIXmm7RxVN+Y7RNRDGgAZ5qwgxr0qHHq/V0+8nUAnDL1k WfnF7N1ixJGAVhfLEdFEs2+B2KtY1G4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-628--ZLqKC6iOViIhZi2rYJVOQ-1; Tue, 22 Feb 2022 20:05:11 -0500 X-MC-Unique: -ZLqKC6iOViIhZi2rYJVOQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EA9D8801AAD; Wed, 23 Feb 2022 01:05:10 +0000 (UTC) Received: from lxbceph1.gsslab.pek2.redhat.com (unknown [10.72.47.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id BBC825D6B1; Wed, 23 Feb 2022 01:05:02 +0000 (UTC) From: xiubli@redhat.com To: jlayton@kernel.org Cc: idryomov@gmail.com, vshankar@redhat.com, ceph-devel@vger.kernel.org, Xiubo Li Subject: [PATCH v2 0/2] ceph: create the global dummy snaprealm once Date: Wed, 23 Feb 2022 09:04:54 +0800 Message-Id: <20220223010456.267425-1-xiubli@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org From: Xiubo Li V2: - Fixed code style issue. Xiubo Li (2): ceph: remove incorrect and unused CEPH_INO_DOTDOT macro ceph: do not release the global snaprealm until unmounting fs/ceph/mds_client.c | 2 +- fs/ceph/snap.c | 13 +++++++++++-- fs/ceph/super.h | 2 +- include/linux/ceph/ceph_fs.h | 4 ++-- 4 files changed, 15 insertions(+), 6 deletions(-)