MCPcopy Create free account
hub / github.com/ceph/ceph / is_mounted

Method is_mounted

qa/tasks/cephfs/mount.py:226–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 return False
225
226 def is_mounted(self):
227 file = self.client_remote.read_file('/proc/self/mounts',stdout=StringIO())
228 if self.hostfs_mntpt in file:
229 return True
230 else:
231 log.debug(f"not mounted; /proc/self/mounts is:\n{file}")
232 return False
233
234 def setupfs(self, name=None):
235 if name is None and self.fs is not None:

Callers 15

is_stuckMethod · 0.95
_run_umount_lfMethod · 0.95
remountMethod · 0.95
create_fileMethod · 0.95
create_filesMethod · 0.95
check_filesMethod · 0.95
create_destroyMethod · 0.95
open_for_readingMethod · 0.95
open_for_writingMethod · 0.95
open_no_dataMethod · 0.95
open_backgroundMethod · 0.95
open_dir_backgroundMethod · 0.95

Calls 2

read_fileMethod · 0.45
debugMethod · 0.45

Tested by 1

setUpMethod · 0.36