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
  • lmv
  • lmv_obd.c
Find file BlameHistoryPermalink
  • Lai Siyao's avatar
    LU-13437 mdt: don't fetch LOOKUP lock for remote object · f9a2da63
    Lai Siyao authored May 10, 2020
    
    
    Pack parent FID in getattr by FID, which will be used to check whether
    child is remote object on parent. The helper function is called
    mdt_is_remote_object(). NB, directory shard is not treated as remote
    object, because if so, client needs to revalidate shards when dir is
    accessed, which will hurt performance much.
    
    For getattr by FID, if object is remote file on parent, don't fetch
    LOOKUP lock, otherwise client may see stale dir entries.
    
    Signed-off-by: default avatarLai Siyao <lai.siyao@whamcloud.com>
    Change-Id: Id181ecc053579ee394080381a82706334503ced0
    Reviewed-on: https://review.whamcloud.com/38561
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    Reviewed-by: default avatarYingjin Qian <qian@ddn.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    f9a2da63

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