From patchwork Mon May 16 12:20:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiubo Li X-Patchwork-Id: 573015 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 7C536C433F5 for ; Mon, 16 May 2022 12:21:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241946AbiEPMVK (ORCPT ); Mon, 16 May 2022 08:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241515AbiEPMVI (ORCPT ); Mon, 16 May 2022 08:21:08 -0400 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 ADE782659 for ; Mon, 16 May 2022 05:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652703666; 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=2vplNptXwHAMGh0lZxOAIZAEP+KO2WKTxJNAPuttPjw=; b=Mli6CDPYm2tmaT+TbkUst74v5xbGI/nHHky0FDaaqlPwD7+p5Ar3OR7aLBIuonL8VDJS3Q NScwXVNEFdfG/x707TN1f9aU6yTCbjd/ttUS3ADpHsm+px3I/v9NWNBnHTmCKibR/ey8Rb eT0YJTVYlRFJIRSZCZ5l9//mHN312tc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-434-ZG7EnukvMz-mjwpNc69W2g-1; Mon, 16 May 2022 08:21:01 -0400 X-MC-Unique: ZG7EnukvMz-mjwpNc69W2g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CCE4A10DEB2A; Mon, 16 May 2022 12:20:55 +0000 (UTC) Received: from localhost (unknown [10.72.47.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id 203F61121315; Mon, 16 May 2022 12:20:54 +0000 (UTC) From: Xiubo Li To: jlayton@kernel.org, viro@zeniv.linux.org.uk Cc: idryomov@gmail.com, vshankar@redhat.com, ceph-devel@vger.kernel.org, mcgrof@kernel.org, akpm@linux-foundation.org, arnd@arndb.de, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Xiubo Li Subject: [PATCH 0/2] ceph: wait async unlink to finish Date: Mon, 16 May 2022 20:20:44 +0800 Message-Id: <20220516122046.40655-1-xiubli@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Xiubo Li (2): fs/dcache: add d_compare() helper support ceph: wait the first reply of inflight unlink/rmdir fs/ceph/dir.c | 55 ++++++++++++++++++++++++++++++--- fs/ceph/file.c | 5 +++ fs/ceph/mds_client.c | 69 ++++++++++++++++++++++++++++++++++++++++++ fs/ceph/mds_client.h | 1 + fs/ceph/super.c | 2 ++ fs/ceph/super.h | 18 ++++++++--- fs/dcache.c | 15 +++++++++ include/linux/dcache.h | 2 ++ 8 files changed, 157 insertions(+), 10 deletions(-)