Nir Soffer has posted comments on this change.

Change subject: storageServer: Run glusterfs in its own cgroup
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.ovirt.org/#/c/40240/3/vdsm/storage/storageServer.py
File vdsm/storage/storageServer.py:

Line 267:     #      - 22180 /usr/bin/glusterfs ...
Line 268:     #    - run-21649.scope
Line 269:     #      - 21692 /usr/bin/glusterfs ...
Line 270:     #
Line 271:     CGROUP = "glusterfs"
> Makes sense. I will check if this works, systemd has strange rules about na
This is the results of using vdsm-glusterfs:

 ├─vdsm.slice
 │ └─vdsm-glusterfs.slice
 │   ├─run-12591.scope
 │   │ └─12634 /usr/sbin/glusterfs ...
 │   └─run-12421.scope
 │     └─12469 /usr/sbin/glusterfs ...

systemd is using - as a directory separator. So vdsm-glusterfs is considered as 
the glusterfs slice in the vdsm slice in the main slice. You would expect that 
we will get the slice vdsm/glusterfs, but it creates instead 
vdsm/vdsm-glusterfs.

I will try another name that make it clear that this is the vdsm-glusterfs 
slice without creating unneeded vdsm slice.
Line 272: 
Line 273:     def getLocalPathBase(cls):
Line 274:         return os.path.join(MountConnection.getLocalPathBase(), 
"glusterSD")
Line 275: 


-- 
To view, visit https://gerrit.ovirt.org/40240
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I79714a9a6ecbde17c396eca6b17b9e3605fad688
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Vijay Bellur <vbel...@gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to