From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1450C4167B for ; Wed, 9 Dec 2020 18:55:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 710E720679 for ; Wed, 9 Dec 2020 18:55:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387460AbgLISyo (ORCPT ); Wed, 9 Dec 2020 13:54:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:47108 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729345AbgLISyh (ORCPT ); Wed, 9 Dec 2020 13:54:37 -0500 From: Jeff Layton Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: ceph-devel@vger.kernel.org Cc: pdonnell@redhat.com, xiubli@redhat.com, idryomov@gmail.com Subject: [PATCH 0/4] ceph: implement later versions of MClientRequest headers Date: Wed, 9 Dec 2020 13:53:50 -0500 Message-Id: <20201209185354.29097-1-jlayton@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org A few years ago, userland ceph added support for changing the birthtime via setattr, as well as support for sending supplementary groups in a MDS request. This patchset updates the kclient to use the newer protocol. The necessary structures are extended and the code is changed to support the newer formats when it detects that the MDS will support it. Supplementary groups will now be transmitted in the request, but for now the setting of btime is not implemented. This is a prerequisite step to adding support for the new "alternate name" field that Xiubo has been working on, which we'll need for proper fscrypt support. Jeff Layton (4): ceph: don't reach into request header for readdir info ceph: take a cred reference instead of tracking individual uid/gid ceph: clean up argument lists to __prepare_send_request and __send_request ceph: implement updated ceph_mds_request_head structure fs/ceph/inode.c | 5 +- fs/ceph/mds_client.c | 98 ++++++++++++++++++++++++++---------- fs/ceph/mds_client.h | 3 +- include/linux/ceph/ceph_fs.h | 32 +++++++++++- 4 files changed, 106 insertions(+), 32 deletions(-) -- 2.29.2