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_intent.c
Find file BlameHistoryPermalink
  • Vitaly Fertman's avatar
    LU-7433 ldlm: xattr locks are lost on mdt · 1cb9e850
    Vitaly Fertman authored Jul 29, 2016
    
    
    mdt_intent_getxattr() can return EFAULT if a buffer cannot be found,
    it is returned after lock_replace, where a new lock is installed into
    lockp. An error forces ldlm_lock_enqueue() to destroy the original
    lock, but ldlm_handle_enqueue0() drops the reference on the new lock.
    xattr client code implied intent error is returned under a lock,
    which is immediately cancelled. Check if a lock obtained and cancel
    it properly for error cases. Note: we should support both cases for
    interop needs, an intent error under a lock and with a lock abort.
    Keep returning a lock with an intent error for interop purposes for
    now, to be dropped later when client will get old enough.
    make all intent ops to work through md_intent_lock: getxattr
    and layout, which should extract the intent error.
    
    Signed-off-by: default avatarVitaly Fertman <vitaly.fertman@seagate.com>
    Change-Id: I7b628b50448c4bdb26a3a8758fc16a44212ad9ac
    Seagate-bug-id: MRP-3072 MRP-3137
    Reviewed-by: default avatarAndrew Perepechko <andrew.perepechko@seagate.com>
    Reviewed-by: default avatarAndriy Skulysh <andriy.skulysh@seagate.com>
    Tested-by: default avatarElena V. Gryaznova <elena.gryaznova@seagate.com>
    Reviewed-on: http://review.whamcloud.com/17220
    
    
    Tested-by: Jenkins
    Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
    Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
    Reviewed-by: default avatarLai Siyao <lai.siyao@intel.com>
    Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
    1cb9e850

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