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-12859 llite: clear flock when using localflock · 22ee4a1f
    Andreas Dilger authored Oct 15, 2019
    When mounting a client with "-o localflock" or equivalent option in
    /etc/fstab, it does not clear out the "flock" mount option flag from
    the superblock.  This results in "flock" still being the option used
    and it displays both options in the /proc/mounts output:
    
      10.0.0.1@o2ib:/lfs on /mnt/lfs type lustre (rw,flock,localflock)
    
    Mount a client with both "flock,localflock" as mount options and
    verify that the "flock" option is cleared by "localflock", and
    vice versa.  Verify that "noflock" clears both options.
    
    Remove the "remount_client()" helper in conf-sanity.sh, since this
    shadows a helper function of the same name in test-framework.sh and
    is confusing.  Instead, use "mount_client()" now that it can accept
    mount options, and just pass "remount" explicitly in a few places.
    
    Fixes: 3613af3e
    
     ("LU-10885 llite: enable flock mount option by default")
    Test-Parameters: trivial testlist=conf-sanity
    Signed-off-by: default avatarAndreas Dilger <adilger@whamcloud.com>
    Change-Id: Ie31b0c4f6674c99d3ed5b73caa39cfc23d3ebbe5
    Reviewed-on: https://review.whamcloud.com/36452
    
    
    Tested-by: default avatarjenkins <devops@whamcloud.com>
    Tested-by: default avatarMaloo <maloo@whamcloud.com>
    Reviewed-by: default avatarBen Evans <bevans@cray.com>
    Reviewed-by: default avatarHongchao Zhang <hongchao@whamcloud.com>
    Reviewed-by: default avatarOleg Drokin <green@whamcloud.com>
    22ee4a1f

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