Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lustre-release
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • debian-packagesdebian-packages
  • lustre-release
  • Repository
Switch branch/tag
  • lustre-release
  • lustre
  • ldlm
  • ldlm_lock.c
Find file BlameHistoryPermalink
  • Andriy Skulysh's avatar
    LU-12017 ldlm: DoM truncate deadlock · 2250e072
    Andriy Skulysh authored Jun 06, 2019
    
    
    setxattr takes inode lock and sends reint to MDS.
    truncate takes MDS_INODELOCK_DOM lock and wants
    to acquire inode lock.
    
    MDS locks are for different bits
    MDS_INODELOCK_UPDATE|MDS_INODELOCK_XATTR vs
    MDS_INODELOCK_DOM but they blocks each other if
    some blocking lock was present earlier.
    
    If IBITS waiting lock has no conflicts with any lock in the
    granted queue or any lock ahead in the waiting queue then
    it can be granted.
    
    Use separate waiting lists for each ibit to eliminate full
    lr_waiting list scan.
    
    Cray-bug-id: LUS-6970
    Change-Id: I95b2ed0b1a0063b7ece5277a5ee06e2511d44e5f
    Signed-off-by: default avatarAndriy Skulysh <c17819@cray.com>
    Reviewed-on: https://review.whamcloud.com/35057
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarMike Pershin <mpershin@whamcloud.com>
    Reviewed-by: default avatarPatrick Farrell <pfarrell@whamcloud.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    2250e072

https://git.gsi.de is provided by CIT→Linux&Web | GSI Helmholtzzentrum fuer Schwerionenforschung GmbH | Imprint (in German) | Privacy policy