Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp867425pxb; Thu, 19 Aug 2021 13:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXRySg/I8MgiRLgAzJPU4yPj6tasHYkL3vZV/iiP79RZRwclqvJnjk9veL+rVbhy//TeMM X-Received: by 2002:a6b:f817:: with SMTP id o23mr12849866ioh.205.1629404475366; Thu, 19 Aug 2021 13:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629404475; cv=none; d=google.com; s=arc-20160816; b=MTF24dTdHPbox7jjP5v4PzC52CyYZUcOPBnjuMPcBJoAqJ/URF6XiQYadjSJb6enJZ gbnHpZDd0JXMjRhrrUUEuwK8SIj/1+jIr97WNIqZ+60zOBaYVbLIo5lN7ZpmqFhH7nXo 4q+3Yx5UCWH4Kvm5AIkMlaHKowRsWpQwBV7umSiD2LdJY+Z75kg6NtwU9w34LNz5AAHp H0qep93HoOZzZysHPphZOpNBdrtuvENQBUlxi1R7320fH/TDH7PV80Z0ltPzSUMghyQp i41d+8klNGlj6kU82gy6/OoxmswfEAdCW+ph7HsKPddQC1YQOQN4NLQJ34q17dGkVYSH 3MMQ== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=ZpePz5K0yQ0qdM0af9VP5chNrQnUFiIZQWsy8JnXGdQ=; b=QWedxUaR089BhUWhvcVHGVPjquMlATWTwpauZeYGvjY0h4Teu27onugfElut37XWHY H0PqCq8EQq+fWx9VyCKAMZCGowzcGzUmoSr/Qf5yH4MxcB8kmR0af/9/dgUfzxBcA23f FVKPzyBDeNjNjasWZHvaxx7zIKp2i3GwvkQYDc8FNP1hTdGKiLf8u8zFwYwPliDOySqI DRH33BRH1v1AES9AXdytyL7uhM97Fu/uuboVEYj76IJp/2OpuApPdm4a1+LLOtzZlseq HTIsGUTBvxB9s54g5NE389boNESwgrur3V/cqYUP9aIfYFlilGTpqFMxdLgntrCWDohG 4QoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y0no770O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si4171495iog.99.2021.08.19.13.21.03; Thu, 19 Aug 2021 13:21:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y0no770O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233289AbhHSUTW (ORCPT + 99 others); Thu, 19 Aug 2021 16:19:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:39720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231683AbhHSUTV (ORCPT ); Thu, 19 Aug 2021 16:19:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 44918610D2; Thu, 19 Aug 2021 20:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629404324; bh=KOZeEQ6+e5vmt7Bs8g0Kbr0+54TTcsuZ0T/h9pwZyM8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Y0no770OomjNFKB035BfRxjOBa/7l57z8/67cAYgKi9iEIilRwEA1+MpReyNUBE2g 5K74KeGOo72rKpjlb8I5kwPM/rJtNeru9AbzDGva5VpHOWJz3+GFglKge5ZXRxMFJO FzXuaTZ05YyY+nzLVR2FfqKPFWs+46609wU7EK6AWDQakrwORkMEcjKRym6Xy8B47S FN/YGXAIoEU7NOyw1WMzXKaqMEUXzlDGECiK0k5nOkIXI7t1uSi2QOYb+4+AbAli9U nza8j1aClMWkrZPs2goP6EyoM4qH5A9zWanMR3kfyksw/Y9DUXBFUF1qUS2reHecSE 90fjuIrO52COg== Message-ID: Subject: Re: Removing Mandatory Locks From: Jeff Layton To: Linus Torvalds Cc: "Eric W. Biederman" , Matthew Wilcox , Andy Lutomirski , David Laight , David Hildenbrand , Linux Kernel Mailing List , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Al Viro , Alexey Dobriyan , Steven Rostedt , "Peter Zijlstra (Intel)" , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes , Kees Cook , Greg Ungerer , Geert Uytterhoeven , Mike Rapoport , Vlastimil Babka , Vincenzo Frascino , Chinwen Chang , Michel Lespinasse , Catalin Marinas , Huang Ying , Jann Horn , Feng Tang , Kevin Brodsky , Michael Ellerman , Shawn Anastasio , Steven Price , Nicholas Piggin , Christian Brauner , Jens Axboe , Gabriel Krisman Bertazi , Peter Xu , Suren Baghdasaryan , Shakeel Butt , Marco Elver , Daniel Jordan , Nicolas Viennot , Thomas Cedeno , Collin Fijalkovich , Michal Hocko , Miklos Szeredi , Chengguang Xu , Christian =?ISO-8859-1?Q?K=F6nig?= , "linux-unionfs@vger.kernel.org" , Linux API , the arch/x86 maintainers , "" , Linux-MM , Florian Weimer , Michael Kerrisk Date: Thu, 19 Aug 2021 16:18:38 -0400 In-Reply-To: References: <20210812084348.6521-1-david@redhat.com> <87o8a2d0wf.fsf@disp2133> <60db2e61-6b00-44fa-b718-e4361fcc238c@www.fastmail.com> <87lf56bllc.fsf@disp2133> <87eeay8pqx.fsf@disp2133> <5b0d7c1e73ca43ef9ce6665fec6c4d7e@AcuMS.aculab.com> <87h7ft2j68.fsf@disp2133> <87k0kkxbjn.fsf_-_@disp2133> <0c2af732e4e9f74c9d20b09fc4b6cbae40351085.camel@kernel.org> Content-Type: text/plain; charset="ISO-8859-15" User-Agent: Evolution 3.40.3 (3.40.3-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-08-19 at 12:15 -0700, Linus Torvalds wrote: > On Thu, Aug 19, 2021 at 11:39 AM Jeff Layton wrote: > > > > I'm all for ripping it out too. It's an insane interface anyway. > > > > I've not heard a single complaint about this being turned off in > > fedora/rhel or any other distro that has this disabled. > > I'd love to remove it, we could absolutely test it. The fact that > several major distros have it disabled makes me think it's fine. > > But as always, it would be good to check Android. > > The desktop distros tend to have the same tools and programs, so if > Fedora and RHEL haven't needed it for years, then it's likely stale in > Debian too (despite being enabled). > > But Android tends to be very different. Does anybody know? > Now that I think about it a little more, I actually did get one complaint a few years ago: Someone had upgraded from an earlier distro that supported the -o mand mount option to a later one that had disabled it, and they had an (old) fstab entry that specified it. They didn't actually use mandatory locking and weren't sure why the option was set, so they removed it and moved on. I would feel a lot better about it if we had gotten Debian to turn it off several years ago too, but I agree it's unlikely anyone uses this and the risk of removing it is low. I've spun up a patch to just rip it out. I'll do a bit of testing with it tomorrow and then send it out. Cheers, -- Jeff Layton