mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
rados.py: add docstrings for Ioctx::__aio_*_cb()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
203915cf38
commit
1734742b2c
@ -646,6 +646,9 @@ class Ioctx(object):
|
||||
self.close()
|
||||
|
||||
def __aio_safe_cb(self, completion, _):
|
||||
"""
|
||||
Callback to onsafe() for asynchronous operations
|
||||
"""
|
||||
cb = None
|
||||
with self.lock:
|
||||
cb = self.safe_cbs[completion]
|
||||
@ -654,6 +657,9 @@ class Ioctx(object):
|
||||
return 0
|
||||
|
||||
def __aio_complete_cb(self, completion, _):
|
||||
"""
|
||||
Callback to oncomplete() for asynchronous operations
|
||||
"""
|
||||
cb = None
|
||||
with self.lock:
|
||||
cb = self.complete_cbs[completion]
|
||||
|
Loading…
Reference in New Issue
Block a user