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
  • Wang Shilong's avatar
    LU-13227 LDLM: update LVB if it is server lock · 3b5c670e
    Wang Shilong authored Feb 19, 2020
    ldlm_glimpse_ast() is registered for server lock which means
    when client send a glimpse request, it just return a special error
    for this lock, it is possible that local object has size expanding
    with this PW lock, so we should try update LVB upon error.
    
    Originally, ldlm_cb_interpret() has codes to handle this error,
    but it only try to handle case with some clients race, it doesn't
    cover server lock cases especially after we turn on lockless for DIO.
    
    Fixes: 6bce5367
    
     ("LU-4198 clio: turn on lockless for some kind of IO")
    Change-Id: Ic84fd19d9eaf7f8245b8f7a2165ee5913849ac01
    Signed-off-by: default avatarWang Shilong <wshilong@ddn.com>
    Reviewed-on: https://review.whamcloud.com/37611
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarBobi Jam <bobijam@hotmail.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    3b5c670e

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