[GIT PULL] File locking changes for v4.21

From: Jeff Layton
Date: Mon Dec 24 2018 - 06:06:35 EST


The following changes since commit
ccda4af0f4b92f7b4c308d3acc262f4a7e3affad:

Linux 4.20-rc2 (2018-11-11 17:12:31 -0600)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/locks-v4.21-1

for you to fetch changes up to 052b8cfa4070caa53125cd589da0cfe744132a94:

locks: Use inode_is_open_for_write (2018-12-17 07:19:46 -0500)

----------------------------------------------------------------

The main change in this set is Neil Brown's work to reduce the
thundering herd problem when a heavily-contended file lock is released.
Previously we'd always wake up all waiters when this occurred. With this
set, we'll now we only wake up waiters that were blocked on the range
being released.

----------------------------------------------------------------
NeilBrown (12):
fs/locks: rename some lists and pointers.
fs/locks: split out __locks_wake_up_blocks().
NFS: use locks_copy_lock() to copy locks.
gfs2: properly initial file_lock used for unlock.
ocfs2: properly initial file_lock used for unlock.
fs/locks: use properly initialized file_lock when unlocking.
fs/locks: allow a lock request to block other requests.
fs/locks: always delete_block after waiting.
fs/locks: change all *_conflict() functions to return bool.
fs/locks: create a tree of dependent requests.
fs/locks: merge posix_unblock_lock() and locks_delete_block()
fs/locks: remove unnecessary white space.

Nikolay Borisov (1):
locks: Use inode_is_open_for_write

fs/cifs/file.c | 4 +-
fs/gfs2/file.c | 10 +-
fs/lockd/svclock.c | 2 +-
fs/locks.c | 344 +++++++++++++++++++++++++---------------
fs/nfs/nfs4proc.c | 6 +-
fs/nfsd/nfs4state.c | 6 +-
fs/ocfs2/locks.c | 10 +-
include/linux/fs.h | 13 +-
include/trace/events/filelock.h | 16 +-
9 files changed, 253 insertions(+), 158 deletions(-)
--
Jeff Layton <jlayton@xxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part