]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge PR #33506 into master
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 3 Mar 2020 00:58:02 +0000 (16:58 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 3 Mar 2020 00:58:02 +0000 (16:58 -0800)
* refs/pull/33506/head:
client: add client_fs mount option support

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
1  2 
qa/tasks/cephfs/fuse_mount.py
qa/tasks/vstart_runner.py
src/client/Client.cc
src/common/options.cc
src/include/cephfs/libcephfs.h

index 27d89437df7a23cf2b3ea2e2b77245bbe8de0755,29fa4319d65e87554cfa1b1f58aa75b325c4e36a..0faf3a90215025225781952b6ab1e4086fda790c
@@@ -68,10 -68,8 +68,10 @@@ class FuseMount(CephFSMount)
              fuse_cmd += ["--client_mountpoint={0}".format(mount_path)]
  
          if mount_fs_name is not None:
-             fuse_cmd += ["--client_mds_namespace={0}".format(mount_fs_name)]
+             fuse_cmd += ["--client_fs={0}".format(mount_fs_name)]
  
 +        fuse_cmd += mount_options
 +
          fuse_cmd += [
              '--name', 'client.{id}'.format(id=self.client_id),
              # TODO ceph-fuse doesn't understand dash dash '--',
index 05f795babc6da581d63692104355512100050b34,660882a06e95876516546077db604468b53f7759..02f2da7cf96ee27bcd4e503837b8196ab0164d64
@@@ -854,10 -844,8 +854,10 @@@ class LocalFuseMount(FuseMount)
              prefix += ["--client_mountpoint={0}".format(mount_path)]
  
          if mount_fs_name is not None:
-             prefix += ["--client_mds_namespace={0}".format(mount_fs_name)]
+             prefix += ["--client_fs={0}".format(mount_fs_name)]
  
 +        prefix += mount_options;
 +
          self.fuse_daemon = self.client_remote.run(args=
                                              prefix + [
                                                  "-f",
Simple merge
Simple merge
Simple merge