Nir Soffer has uploaded a new change for review. Change subject: mailbox: Rename storage mailbox threads ......................................................................
mailbox: Rename storage mailbox threads Previously mailbox threads were named "mailbox.SPMMonitor" and "mailbox.HSMMonitor" which get truncated in system commands such as ps and htop (e.g. "mailbox.HSMMoni"), and do not match other thread names. Renamed to "mailbox/spm" and "mailbox/hsm". Change-Id: Ife5246ea36a0646f62416f1fdcbaf617fe85bf70 Signed-off-by: Nir Soffer <[email protected]> --- M vdsm/storage/storage_mailbox.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/28/63528/1 diff --git a/vdsm/storage/storage_mailbox.py b/vdsm/storage/storage_mailbox.py index 64cccac..80a10e0 100644 --- a/vdsm/storage/storage_mailbox.py +++ b/vdsm/storage/storage_mailbox.py @@ -267,7 +267,7 @@ self._initMailbox() # Read initial mailbox state self._msgCounter = 0 self._sendMail() # Clear outgoing mailbox - self._thread = concurrent.thread(self.run, name="mailbox.HSMMonitor", + self._thread = concurrent.thread(self.run, name="mailbox/hsm", logger=self.log.name) self._thread.start() @@ -578,7 +578,7 @@ self.log.warning("SPM_MailMonitor couldn't clear outgoing mail, " "dd failed") - t = concurrent.thread(self.run, name="mailbox.SPMMonitor", + t = concurrent.thread(self.run, name="mailbox/spm", logger=self.log.name) t.start() self.log.debug('SPM_MailMonitor created for pool %s' % self._poolID) -- To view, visit https://gerrit.ovirt.org/63528 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ife5246ea36a0646f62416f1fdcbaf617fe85bf70 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/admin/lists/[email protected]
