From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59685 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752564AbdK2C3I (ORCPT ); Tue, 28 Nov 2017 21:29:08 -0500 Subject: Re: [PATCH 3/3] autofs - fix AT_NO_AUTOMOUNT not being honored To: Mike Marion , NeilBrown Cc: autofs mailing list , Kernel Mailing List , linux-fsdevel References: <149438991819.26550.11290804420751932707.stgit@pluto.themaw.net> <149438992850.26550.14370272866390445786.stgit@pluto.themaw.net> <874lpo2y9e.fsf@notabene.neil.brown.name> <864efc64-c430-a862-3e98-fe5ce2535329@themaw.net> <20171127160147.GA27613@qualcomm.com> <20171128002935.GC27898@qualcomm.com> <87a7z5yjbs.fsf@notabene.neil.brown.name> <20171129021354.GB2873@qualcomm.com> From: Ian Kent Message-ID: <1be75afb-8702-d60c-5ecb-10ddd2edc062@themaw.net> Date: Wed, 29 Nov 2017 10:28:56 +0800 MIME-Version: 1.0 In-Reply-To: <20171129021354.GB2873@qualcomm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 29/11/17 10:13, Mike Marion wrote: > On Wed, Nov 29, 2017 at 12:17:27PM +1100, NeilBrown wrote: > >> How big do people see /proc/self/mount* getting? What size reads >> does 'strace' show the various programs using to read it? > > We already have line counts into 5 figures. This wasn't an issue until > the change of /etc/mtab to a link. The large count is due to our large > direct automount maps. > And, admittedly, the testing I was doing was with 15k+ size maps. Of course it's necessary to have this number of mounts to see serious problems which is easiest to do with large direct mount maps. The thing that's different now is that before applications started using /proc directly for mount table information using mount(2) instead of mount(8) was enough to prevent the mount entries from being added to the table seen by applications. Ian