Skip to content

Commit 6e7562f

Browse files
Merge pull request ceph#61541 from rishabh-d-dave/mgr-vol-comment
mgr/vol: add a helpful comment in async_job.py Reviewed-by: Patrick Donnelly <[email protected]>
2 parents 87c1e64 + 0d930f2 commit 6e7562f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pybind/mgr/volumes/fs/async_job.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,11 @@ def __init__(self, volume_client, name_pfx, nr_concurrent_jobs):
133133
# lock, cv for kickstarting jobs
134134
self.lock = threading.Lock()
135135
self.cv = threading.Condition(self.lock)
136+
137+
# Indicates whether or not entire async job machinery is being
138+
# shutdown/stopped.
136139
self.stopping = threading.Event()
140+
137141
self.cancel_cv = threading.Condition(self.lock)
138142
self.nr_concurrent_jobs = nr_concurrent_jobs
139143
self.name_pfx = name_pfx

0 commit comments

Comments
 (0)