• Linus Torvalds's avatar
    Merge tag 'gfs2-v5.15-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 78805cbe
    Linus Torvalds authored
    Pull gfs2 updates from Andreas Gruenbacher:
    
     - Fix a locking order inversion between the inode and iopen glocks in
       gfs2_inode_lookup.
    
     - Implement proper queuing of glock holders for glocks that require
       instantiation (like reading an inode or bitmap blocks from disk).
       Before, multiple glock holders could race with each other and
       half-initialized objects could be exposed; the GL_SKIP flag further
       exacerbated this problem.
    
     - Fix a rare deadlock between inode lookup / creation and remote delete
       work.
    
     - Fix a rare scheduling-while-atomic bug in dlm during glock hash table
       walks.
    
     - Various other minor fixes and cleanups.
    
    * tag 'gfs2-v5.15-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (21 commits)
      gfs2: Fix unused value warning in do_gfs2_set_flags()
      gfs2: check context in gfs2_glock_put
      gfs2: Fix glock_hash_walk bugs
      gfs2: Cancel remote delete work asynchronously
      gfs2: set glock object after nq
      gfs2: remove RDF_UPTODATE flag
      gfs2: Eliminate GIF_INVALID flag
      gfs2: fix GL_SKIP node_scope problems
      gfs2: split glock instantiation off from do_promote
      gfs2: further simplify do_promote
      gfs2: re-factor function do_promote
      gfs2: Remove 'first' trace_gfs2_promote argument
      gfs2: change go_lock to go_instantiate
      gfs2: dump glocks from gfs2_consist_OBJ_i
      gfs2: dequeue iopen holder in gfs2_inode_lookup error
      gfs2: Save ip from gfs2_glock_nq_init
      gfs2: Allow append and immutable bits to coexist
      gfs2: Switch some BUG_ON to GLOCK_BUG_ON for debug
      gfs2: move GL_SKIP check from glops to do_promote
      gfs2: Add GL_SKIP holder flag to dump_holder
      ...
    78805cbe
file.c 39.9 KB