Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3945672ybe; Mon, 16 Sep 2019 04:11:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRDJ4rhNNVe6Jpy+ZLgpZdS6vzZB6jT0Kr1UexnHeCPbmb7EcCZjIxP8glOr4EqQMRrbt7 X-Received: by 2002:a17:906:1cc6:: with SMTP id i6mr12723753ejh.40.1568632317833; Mon, 16 Sep 2019 04:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568632317; cv=none; d=google.com; s=arc-20160816; b=fkptzg9wD60IcQSypC5LorHlENWnaltUDvwisjOnKypnyb6Kmd6MYPGlimf47/+WrX KfDdbGe+pacbSoP8kM3pQ2BlHQpgIxS/HJLSBcajN5FL/dh2K2p7PNznKUFyI9PEt8lO C/bD+/0Fuq5nEi9Rx5o4FRFUOibFw/r/8mvit87p2i8XFN/oD07sl7F/kE8/RHMAvQBG dUGmhZ+paUSgnFMbn/Tn5Qf9cvwDpg88pJ5BxuEk94UvlMdZOYYcmvYYfc4g5tzRpD1t O+g3b2DP7EWJ6eJ6XZJ5CP9L2/oJ6sWu5n5NA6iKzOFOwNFCkigjGtVLezfYs7FZO2WJ 6S6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:from:organization; bh=7/AQbL37JNbE2gMBAkmCbAxLkDw5eJyY8l5VDYs1o7Y=; b=sKkp/4rf0+gAfnExH3imxcFXchN7QWobftRV6K1FOyaNORfdw8Nozf2QyL6vo9hCqG tufEXcEghFYAHqY4NfNc7VoXu8DXws4C2x4otre6qbeWCu1sDjr668KOHryfnoRxDT/2 CiVTDeFq+B64I8CYrhS4RBmvxjHKv2jOdbhJI990g6WtCpGyCo84OIO4J//A1FchLjc2 YJ3gQZJeqlSfq1Y16Sa0slOF51DcsKxGisEwWlFuR+JAA+6l0T/HFWyIFnt8hu1zmIH2 RZ9enFl17mmKFrindVSCxzYwFJtCjhXG8AnTyv1wvZBNSsiNtv8w94IHfr2Sx8kwuYrO WuGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p18si20691820ejn.370.2019.09.16.04.11.33; Mon, 16 Sep 2019 04:11:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729075AbfIPLJ3 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Sep 2019 07:09:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35640 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbfIPLJ3 (ORCPT ); Mon, 16 Sep 2019 07:09:29 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 50DBD30832E1; Mon, 16 Sep 2019 11:09:29 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-125-72.rdu2.redhat.com [10.10.125.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC2C460BFB; Mon, 16 Sep 2019 11:09:27 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: torvalds@linux-foundation.org cc: dhowells@redhat.com, yuehaibing@huawei.com, marc.dionne@auristor.com, linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL afs: Development for 5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16146.1568632167.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Mon, 16 Sep 2019 12:09:27 +0100 Message-ID: <16147.1568632167@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Mon, 16 Sep 2019 11:09:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Here's a set of patches for AFS. The first three are trivial, deleting unused symbols and rolling out a wrapper function. The fourth and fifth patches make use of the previously added RCU-safe request_key facility to allow afs_permission() and afs_d_revalidate() to attempt to operate without dropping out of RCU-mode pathwalk. Under certain conditions, such as conflict with another client, we still have to drop out anyway, take a lock and consult the server. David --- The following changes since commit f16180739cd18a39a1a45516ac0e65d18a9f100e: Merge remote-tracking branch 'net/master' into afs-next (2019-09-02 11:43:44 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-next-20190915 for you to fetch changes up to a0753c29004f4983e303abce019f29e183b1ee48: afs: Support RCU pathwalk (2019-09-02 11:43:54 +0100) ---------------------------------------------------------------- AFS development Tested-by: Marc Dionne ---------------------------------------------------------------- David Howells (3): afs: Use afs_extract_discard() rather than iov_iter_discard() afs: Provide an RCU-capable key lookup afs: Support RCU pathwalk YueHaibing (2): afs: remove unused variable 'afs_voltypes' afs: remove unused variable 'afs_zero_fid' fs/afs/dir.c | 54 +++++++++++++++++++++++++- fs/afs/fsclient.c | 6 +-- fs/afs/internal.h | 1 + fs/afs/security.c | 108 +++++++++++++++++++++++++++++++++++++++++++--------- fs/afs/volume.c | 2 - fs/afs/yfsclient.c | 6 +-- include/linux/key.h | 14 ++++++- 7 files changed, 162 insertions(+), 29 deletions(-)