Change in vdsm[master]: mailbox: Rename mailbox monitor threads

nsoffer at redhat.com nsoffer at redhat.com
Mon May 18 19:25:23 UTC 2015


Nir Soffer has uploaded a new change for review.

Change subject: mailbox: Rename mailbox monitor threads
......................................................................

mailbox: Rename mailbox monitor threads

Name the HSM and SPM mail monitor threads "mailbox.HSMMonitor" and
"mailbox.SPMMonitor" instead of the default Thread-1234.

Change-Id: I361760c2ca05e378dc8eb840f74a27002ffb0acf
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M vdsm/storage/storage_mailbox.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/80/41080/1

diff --git a/vdsm/storage/storage_mailbox.py b/vdsm/storage/storage_mailbox.py
index 1ad599b..c6c65ce 100644
--- a/vdsm/storage/storage_mailbox.py
+++ b/vdsm/storage/storage_mailbox.py
@@ -269,6 +269,7 @@
         self._sendMail()  # Clear outgoing mailbox
         threading.Thread.__init__(self)
         self.daemon = True
+        self.name = "mailbox.HSMMonitor"
         self.start()
 
     def _initMailbox(self):
@@ -582,6 +583,7 @@
 
         t = threading.Thread(target=self.run)
         t.daemon = True
+        t.name = "mailbox.HSMMonitor"
         t.start()
         self.log.debug('SPM_MailMonitor created for pool %s' % self._poolID)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I361760c2ca05e378dc8eb840f74a27002ffb0acf
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list