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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 98F4EC4CEC9 for ; Thu, 19 Sep 2019 02:11:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78EFD21848 for ; Thu, 19 Sep 2019 02:11:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730800AbfISCLO (ORCPT ); Wed, 18 Sep 2019 22:11:14 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:39756 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbfISCLO (ORCPT ); Wed, 18 Sep 2019 22:11:14 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1iAluZ-0005e0-L3; Thu, 19 Sep 2019 02:11:11 +0000 Date: Thu, 19 Sep 2019 03:11:11 +0100 From: Al Viro To: Linus Torvalds Cc: Ian Kent , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [git pull] autofs-related stuff Message-ID: <20190919021111.GK1131@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org The most interesting part here is getting rid of the last trylock loop on dentry->d_lock - the ones in fs/dcache.c had been dealt with several years ago, but there'd been leftovers in fs/autofs/expire.c The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.autofs for you to fetch changes up to 5f68056ca50fdd3954a93ae66fea7452abddb66f: autofs_lookup(): hold ->d_lock over playing with ->d_flags (2019-07-27 10:03:14 -0400) ---------------------------------------------------------------- Al Viro (3): autofs: simplify get_next_positive_...(), get rid of trylocks get rid of autofs_info->active_count autofs_lookup(): hold ->d_lock over playing with ->d_flags fs/autofs/autofs_i.h | 1 - fs/autofs/expire.c | 103 ++++++++++++++++----------------------------------- fs/autofs/root.c | 44 ++++++---------------- 3 files changed, 44 insertions(+), 104 deletions(-)