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
  • Patrick Farrell's avatar
    LU-11719 ldlm: Adjust search_* functions · a2311488
    Patrick Farrell authored Dec 03, 2018
    
    
    The search_itree and search_queue functions should both
    return either a pointer to a found lock or NULL.
    
    Currently, search_itree just returns the contents of
    data->lmd_lock, whether or not a lock was found.
    
    search_queue will do the same under certain cirumstances.
    
    Zero lmd_lock in both search_* functions, and also stop
    searching in search_itree once a lock is found.
    
    cray-bug-id: LUS-6783
    Signed-off-by: default avatarPatrick Farrell <paf@cray.com>
    Change-Id: Ie231166756e60c228370f8f1a019ccfe14dfda6a
    Reviewed-on: https://review.whamcloud.com/33754
    
    
    Tested-by: Jenkins
    Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    a2311488

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