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
  • Mikhail Pershin's avatar
    LU-11964 mdc: prevent glimpse lock count grow · b915221b
    Mikhail Pershin authored Feb 15, 2019
    
    
    DOM locks matching tries to ignore locks with
    LDLM_FL_KMS_IGNORE flag during ldlm_lock_match() but
    checks that after ldlm_lock_match() call. Therefore if
    there is any lock with such flag in queue then all other
    locks after it are ignored and new lock is created causing
    big amount of locks on single resource in some access
    patterns.
    Patch extends lock_matches() function to check flags to
    exclude and adds ldlm_lock_match_with_skip()p to use that
    when needed.
    Corresponding test was added in sanity-dom.sh
    
    Test-Parameters: testlist=sanity-dom
    Signed-off-by: default avatarMikhail Pershin <mpershin@whamcloud.com>
    Change-Id: Ic45ca10f0e603e79a3a00e4fde13a5fae15ea5fc
    Reviewed-on: https://review.whamcloud.com/34261
    
    
    Tested-by: Jenkins
    Reviewed-by: default avatarPatrick Farrell <pfarrell@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarLai Siyao <lai.siyao@whamcloud.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    b915221b

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