-
Andreas Dilger authored
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:
Andreas Dilger <adilger@whamcloud.com> Change-Id: Ie31b0c4f6674c99d3ed5b73caa39cfc23d3ebbe5 Reviewed-on: https://review.whamcloud.com/36452 Tested-by:
jenkins <devops@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Ben Evans <bevans@cray.com> Reviewed-by:
Hongchao Zhang <hongchao@whamcloud.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
22ee4a1f