]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/vol: add a helpful comment in async_job.py 61541/head
authorRishabh Dave <ridave@redhat.com>
Thu, 26 Sep 2024 14:55:16 +0000 (20:25 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 25 Feb 2025 13:36:45 +0000 (19:06 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/async_job.py

index 075fedf20a46171d0d2748b1ab08c4b938842e7c..dc0a2ac8f977584acc8284b7b947c3033cdeecc6 100644 (file)
@@ -133,7 +133,11 @@ class AsyncJobs(threading.Thread):
         # lock, cv for kickstarting jobs
         self.lock = threading.Lock()
         self.cv = threading.Condition(self.lock)
+
+        # Indicates whether or not entire async job machinery is being
+        # shutdown/stopped.
         self.stopping = threading.Event()
+
         self.cancel_cv = threading.Condition(self.lock)
         self.nr_concurrent_jobs = nr_concurrent_jobs
         self.name_pfx = name_pfx