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
  • Lai Siyao's avatar
    LU-11967 mdt: reint layout_change in standard way · e1bebbdf
    Lai Siyao authored Jun 30, 2019
    
    
    Layout_change is a reint operation, and it should be handled the
    same as other reint operations, so that resent and replay can
    work correctly.
    
    Also replace the lock passed in ldlm_handle_enqueue0() with the
    lock taken in mdt_layout_change(). This avoids taking lock again
    in ldlm_handle_enqueue0(), and also makes replay eaiser. Note,
    before replacing, the mode is downgraded from EX to CR, because
    client only needs this mode, as can avoid unnecessary lock cancel
    later.
    
    Add missing resent reconstructor for REINT_RESYNC.
    
    Signed-off-by: default avatarLai Siyao <lai.siyao@whamcloud.com>
    Change-Id: I328044dacbf18d03232c9bbb51271f6202e9b939
    Reviewed-on: https://review.whamcloud.com/35465
    
    
    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 avatarMike Pershin <mpershin@whamcloud.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    e1bebbdf

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