From: Jeff Layton <jlayton@kernel.org>
To: torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: ebiederm@xmission.com, david@redhat.com, willy@infradead.org,
linux-nfs@vger.kernel.org, viro@zeniv.linux.org.uk,
linux-doc@vger.kernel.org, v9fs-developer@lists.sourceforge.net,
linux-afs@lists.infradead.org, cluster-devel@redhat.com,
ocfs2-devel@oss.oracle.com, linux-mm@kvack.org,
akpm@linux-foundation.org, luto@kernel.org, bfields@fieldses.org,
rostedt@goodmis.org
Subject: Re: [PATCH v3 0/2] fs: remove support for mandatory locking
Date: Fri, 20 Aug 2021 14:15:44 -0400 [thread overview]
Message-ID: <30fdfda30b42b8b836a199b3cbe65d1673f5100f.camel@kernel.org> (raw)
In-Reply-To: <20210820163919.435135-1-jlayton@kernel.org>
On Fri, 2021-08-20 at 12:39 -0400, Jeff Layton wrote:
> v3: slight revision to verbiage, and use pr_warn_once
>
> The first patch in this series adds a new warning that should pop on
> kernels that have mandatory locking enabled when someone mounts a
> filesystem with -o mand. The second patch removes support for mandatory
> locking altogether.
>
> What I think we probably want to do is apply the first to v5.14 before
> it ships and allow the new warning to trickle out into stable kernels.
> Then we can merge the second patch in v5.15 to go ahead and remove it.
>
> Sound like a plan?
>
> Jeff Layton (2):
> fs: warn about impending deprecation of mandatory locks
> fs: remove mandatory file locking support
>
> .../filesystems/mandatory-locking.rst | 188 ------------------
> fs/9p/vfs_file.c | 12 --
> fs/Kconfig | 10 -
> fs/afs/flock.c | 4 -
> fs/ceph/locks.c | 3 -
> fs/gfs2/file.c | 3 -
> fs/locks.c | 116 +----------
> fs/namei.c | 4 +-
> fs/namespace.c | 25 +--
> fs/nfs/file.c | 4 -
> fs/nfsd/nfs4state.c | 13 --
> fs/nfsd/vfs.c | 15 --
> fs/ocfs2/locks.c | 4 -
> fs/open.c | 8 +-
> fs/read_write.c | 7 -
> fs/remap_range.c | 10 -
> include/linux/fs.h | 84 --------
> mm/mmap.c | 6 -
> mm/nommu.c | 3 -
> 19 files changed, 14 insertions(+), 505 deletions(-)
> delete mode 100644 Documentation/filesystems/mandatory-locking.rst
>
I went ahead and pushed this version into the locks-next branch, so we
can give it some soak time before merging.
--
Jeff Layton <jlayton@kernel.org>
prev parent reply other threads:[~2021-08-20 18:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-20 16:39 [PATCH v3 0/2] fs: remove support for mandatory locking Jeff Layton
2021-08-20 16:39 ` [PATCH v3 1/2] fs: warn about impending deprecation of mandatory locks Jeff Layton
2021-08-20 16:39 ` [PATCH v3 2/2] fs: remove mandatory file locking support Jeff Layton
2021-08-20 19:45 ` Al Viro
2021-08-23 15:12 ` Guenter Roeck
2021-08-20 18:15 ` Jeff Layton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30fdfda30b42b8b836a199b3cbe65d1673f5100f.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=bfields@fieldses.org \
--cc=cluster-devel@redhat.com \
--cc=david@redhat.com \
--cc=ebiederm@xmission.com \
--cc=linux-afs@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-nfs@vger.kernel.org \
--cc=luto@kernel.org \
--cc=ocfs2-devel@oss.oracle.com \
--cc=rostedt@goodmis.org \
--cc=torvalds@linux-foundation.org \
--cc=v9fs-developer@lists.sourceforge.net \
--cc=viro@zeniv.linux.org.uk \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).