Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2152321pxb; Fri, 25 Mar 2022 12:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz37L7zM8qweeWXM7FI3ICEgZFmujFe9iY7i5PmSewy7VW+xoCVJOICbBw91cITFy7nDJ01 X-Received: by 2002:a05:6a00:999:b0:4fa:964f:9021 with SMTP id u25-20020a056a00099900b004fa964f9021mr11288752pfg.34.1648234920476; Fri, 25 Mar 2022 12:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648234920; cv=none; d=google.com; s=arc-20160816; b=d2JlhXTYSbszoVQ9/sD2G1Q/cP6OXZ+QFZmhhmiO0epqRoLJfePJzL4ePi6YJMT5YW Xnm88pgKaMgsUnoGT+M/d+BmIm1jefYAXxzhsbxuQplcD+aAcpBKYFSYBW9qyQ26ZdzB m465GBOgFR5gwpdrzOT3c5uwQdQcec/WHgWPPRqC2y6J5pMv8Id7D7tNw9TH5vIKj0JK cGkhcWccJom3mK1iipyDvVn+AOKWHQTDT5GW7eW6khoqBw+tOZ2QxX+Rankta6Odvn2C ItUljamdWEZo3Ss+q8dtC2KbPhZSCi8jb1WnDW3T1s+5lTgByAQELowImdJfRLEUZKpH lBKQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=n4IHohZfNhxIELfk0O0C8Svu0kWT5bRkI2fJh/C2zgs=; b=TnvKODPRoMAfdVZe573JYo4W/zfF0hzP46fSHZytTp8AukKQRNPRbqYBkqdw3VDcao Fny9hmWKJDqBs0fTqE+0sIoTz8DY5HWk72xxdeL6XHHZCg38HZTziPSrzFOKGn/OwzqM dXhWg0hhEyEilAmSN+dy7//Z/+2/1Sp2uosHvTChBW0YPQ1WUi/DKuQP/5WoZIkT06nb IUWt5c1BcEDgJbCJ8C27PL5ALaJd5IczMloZ21xhXv23S4n0oAPd/iwOeCewNk+E99Za CWpTypMQeTIcI7plCszlvpkVhvrGsZ/zovCb2qBzILvLSlDif47xnN3FAXo98JmFzy0X je1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="MYlhUF/H"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i20-20020a63e454000000b003816043ee2asi3017565pgk.31.2022.03.25.12.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:02:00 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="MYlhUF/H"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC1C41EA5FD; Fri, 25 Mar 2022 11:11:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352195AbiCXR0v (ORCPT + 99 others); Thu, 24 Mar 2022 13:26:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234168AbiCXR0u (ORCPT ); Thu, 24 Mar 2022 13:26:50 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D4B04D63D; Thu, 24 Mar 2022 10:25:18 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id a17so6421220edm.9; Thu, 24 Mar 2022 10:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=n4IHohZfNhxIELfk0O0C8Svu0kWT5bRkI2fJh/C2zgs=; b=MYlhUF/HBx16m5ik87ELtjf2YuF6geOeLvoTwuekMaJRyvamJaCLfQs0ItVL2YYuBY iBLtUGGrfk4brxV813B/L2sVOM0aKCQ2YvkNW+2guKzfP9ovRBNov1hhcniCr32B7eTq SpgKkB3TyxPrXnUksSudinXKQQEOmBlrruAM9rq0dsH3qPUfIS4Lj3aE41TuRI9/FaXP zowLc31B9ZVqtmZYPMG74z9tEvqCLiyVZoI7yIoM9PyiGafrUXFDg4PYkInbFJApVuz2 sQ5cDLx9NmHIkhTGZqiAjYUAqQCwqMJSKNA93t42TAN9E5TgqY1BcUtiTc8UR/vjaCZz Z4Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=n4IHohZfNhxIELfk0O0C8Svu0kWT5bRkI2fJh/C2zgs=; b=Yhoena4Ws5oXwj4VHvEHBR7hCbBaE9KV6sjHqK2CrvQvAGxEvaQFlsEumdMdwKEcI+ MH9nltDOE4wNtpbtKidZsQpG0CTU2oohuLjUGyEn/kkRIwmQC4lN5SJ2IXkc5QT/7rYK hBcCEgKtQoeO2nlXutiA+WdMkka2Dj8r6okZhgvLLrkGEXmgSiCiEpnhysxbCVFgV3OX R418uP36kD/Cxq3mRnEz6rs2KkSfPNUpmfFHakb/ER4TaRPUSYAD6BB2QgviFYJ38WSv 3lMgAuspaQY0bEhz/E1XB57wqX/jNgDP7IZ3jcPf2ICBRTIwemy8Ro87x2TlXJL4BXje +sDg== X-Gm-Message-State: AOAM532MBdIEVAMEDNFI7qdnJY3lCXR1f1pI/+/xMU0VEp4hYClh9Csn Zs3KGG1N/PuvwknoIJoqa/2nnQgIuco= X-Received: by 2002:a05:6402:11d2:b0:419:7cd7:b25 with SMTP id j18-20020a05640211d200b004197cd70b25mr7768503edw.19.1648142716646; Thu, 24 Mar 2022 10:25:16 -0700 (PDT) Received: from kwango.redhat.com (ip-89-102-68-162.net.upcbroadband.cz. [89.102.68.162]) by smtp.gmail.com with ESMTPSA id y17-20020a056402359100b0041926ea1e12sm1708517edc.53.2022.03.24.10.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 10:25:16 -0700 (PDT) From: Ilya Dryomov To: Linus Torvalds Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells Subject: [GIT PULL] Ceph updates for 5.18-rc1 Date: Thu, 24 Mar 2022 18:25:54 +0100 Message-Id: <20220324172554.12797-1-idryomov@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3: Linux 5.17-rc6 (2022-02-27 14:36:33 -0800) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-5.18-rc1 for you to fetch changes up to f639d9867eea647005dc824e0e24f39ffc50d4e4: ceph: fix memory leak in ceph_readdir when note_last_dentry returns error (2022-03-21 13:35:16 +0100) ---------------------------------------------------------------- The highlights are: - several changes to how snap context and snap realms are tracked (Xiubo Li). In particular, this should resolve a long-standing issue of high kworker CPU usage and various stalls caused by needless iteration over all inodes in the snap realm. - async create fixes to address hangs in some edge cases (Jeff Layton) - support for getvxattr MDS op for querying server-side xattrs, such as file/directory layouts and ephemeral pins (Milind Changire) - average latency is now maintained for all metrics (Venky Shankar) - some tweaks around handling inline data to make it fit better with netfs helper library (David Howells) Also a couple of memory leaks got plugged along with a few assorted fixups. Last but not least, Xiubo has stepped up to serve as a CephFS co-maintainer. ---------------------------------------------------------------- Dan Carpenter (1): ceph: uninitialized variable in debug output David Howells (2): ceph: make ceph_netfs_issue_op() handle inlined data ceph: uninline the data on a file opened for writing Jeff Layton (6): ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host ceph: eliminate req->r_wait_for_completion from ceph_mds_request ceph: wait for async create reply before sending any cap messages ceph: wake waiters after failed async create libceph: drop else branches in prepare_read_data{,_cont} MAINTAINERS: add Xiubo Li as cephfs co-maintainer Milind Changire (1): ceph: add getvxattr op Venky Shankar (4): ceph: use ktime_to_timespec64() rather than jiffies_to_timespec64() ceph: track average r/w/m latency ceph: include average/stdev r/w/m latency in mds metrics ceph: use tracked average r/w/m latencies to display metrics in debugfs Xiubo Li (12): ceph: fail the request directly if handle_reply gets an ESTALE ceph: move to a dedicated slabcache for ceph_cap_snap ceph: zero the dir_entries memory when allocating it ceph: do not update snapshot context when there is no new snapshot ceph: eliminate the recursion when rebuilding the snap context ceph: remove incorrect and unused CEPH_INO_DOTDOT macro ceph: do not release the global snaprealm until unmounting ceph: allocate capsnap memory outside of ceph_queue_cap_snap() ceph: misc fix for code style and logs ceph: fix inode reference leakage in ceph_get_snapdir() ceph: assign the ci only when the inode isn't NULL ceph: fix memory leak in ceph_readdir when note_last_dentry returns error hongnanli (1): ceph: fix comments mentioning i_mutex MAINTAINERS | 2 + fs/ceph/addr.c | 240 ++++++++++++++++++--------------------- fs/ceph/caps.c | 16 ++- fs/ceph/debugfs.c | 5 +- fs/ceph/dir.c | 17 ++- fs/ceph/file.c | 83 ++++++++------ fs/ceph/inode.c | 65 ++++++++++- fs/ceph/locks.c | 8 +- fs/ceph/mds_client.c | 69 ++++++------ fs/ceph/mds_client.h | 15 ++- fs/ceph/metric.c | 63 ++++++----- fs/ceph/metric.h | 63 +++++++---- fs/ceph/snap.c | 263 +++++++++++++++++++++++++++---------------- fs/ceph/strings.c | 1 + fs/ceph/super.c | 7 ++ fs/ceph/super.h | 9 +- fs/ceph/xattr.c | 13 ++- include/linux/ceph/ceph_fs.h | 5 +- include/linux/ceph/libceph.h | 1 + net/ceph/messenger_v2.c | 8 +- 20 files changed, 577 insertions(+), 376 deletions(-)