• Linus Torvalds's avatar
    Merge tag 'locks-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux · 00c569b5
    Linus Torvalds authored
    Pull file locking updates from Jeff Layton:
     "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"
    
    * tag 'locks-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux:
      locks: Use inode_is_open_for_write
      fs/locks: remove unnecessary white space.
      fs/locks: merge posix_unblock_lock() and locks_delete_block()
      fs/locks: create a tree of dependent requests.
      fs/locks: change all *_conflict() functions to return bool.
      fs/locks: always delete_block after waiting.
      fs/locks: allow a lock request to block other requests.
      fs/locks: use properly initialized file_lock when unlocking.
      ocfs2: properly initial file_lock used for unlock.
      gfs2: properly initial file_lock used for unlock.
      NFS: use locks_copy_lock() to copy locks.
      fs/locks: split out __locks_wake_up_blocks().
      fs/locks: rename some lists and pointers.
    00c569b5
file.c 113 KB