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
  • llite
  • llite_lib.c
Find file BlameHistoryPermalink
  • Andreas Dilger's avatar
    LU-12521 llapi: add separate fsname and instance API · 00d14521
    Andreas Dilger authored Jul 09, 2019
    The llapi_getname() function returns the combined fsname and client
    instance as one string, which is fine when using the entire string,
    but the output cannot be safely parsed into separate fsname and
    instance strings in all cases.
    
    Introduce new llapi_get_fsname() and llapi_get_instance() functions
    that return only the fsname and instance strings, since the source
    string returned from the kernel can be unambiguously separated before
    it is returned in a combined string via llapi_getname().
    
    Fix the lfs_getname() '-n' and '-i' options to use the new routines
    rather than parsing the output from llapi_getname().
    
    Add man pages for these functions.
    
    Fixes: 2a4821b8
    
     ("LU-12159 utils: improve lfs getname functionality")
    Signed-off-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    Change-Id: Iaf5846a0ae147a428f66ec8a1d0251e7e12540e5
    Reviewed-on: https://review.whamcloud.com/35451
    
    
    Reviewed-by: default avatarOlaf Faaland-LLNL <faaland1@llnl.gov>
    Reviewed-by: default avatarJames Simmons <jsimmons@infradead.org>
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    00d14521

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