Merge pull request #55 from nak3/nonempty

Add nonempty option to ceph-fuse to support ReadWriteMany
This commit is contained in:
Huamin Chen 2018-08-07 14:14:57 -04:00 committed by GitHub
commit 4331960ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ func mountFuse(mountPoint string, cr *credentials, volOptions *volumeOptions, vo
"-n", cephEntityClientPrefix + cr.id, "-n", cephEntityClientPrefix + cr.id,
"--keyring", getCephKeyringPath(volUuid, cr.id), "--keyring", getCephKeyringPath(volUuid, cr.id),
"-r", volOptions.RootPath, "-r", volOptions.RootPath,
"-o", "nonempty",
} }
out, err := execCommand("ceph-fuse", args[:]...) out, err := execCommand("ceph-fuse", args[:]...)