summaryrefslogtreecommitdiffstats
path: root/mm/Makefile
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-08-29 17:36:03 -0700
committerJosh Durgin <josh.durgin@inktank.com>2013-09-09 11:16:02 -0700
commit20e0af67ce88c657d0601977b9941a2256afbdaa (patch)
tree850fb98180ca9a41b600fe444b7d615146c5b1ed /mm/Makefile
parent9abc59908e0c5f983aaa91150da32d5b62cf60b7 (diff)
downloadblackbird-obmc-linux-20e0af67ce88c657d0601977b9941a2256afbdaa.tar.gz
blackbird-obmc-linux-20e0af67ce88c657d0601977b9941a2256afbdaa.zip
rbd: make rbd_obj_notify_ack() synchronous
The only user of rbd_obj_notify_ack() is rbd_watch_cb(). It used asynchronously with no tracking of when the notify ack completes, so it may still be in progress when the osd_client is shut down. This results in a BUG() since the osd client assumes no requests are in flight when it stops. Since all notifies are flushed before the osd_client is stopped, waiting for the notify ack to complete before returning from the watch callback ensures there are no notify acks in flight during shutdown. Rename rbd_obj_notify_ack() to rbd_obj_notify_ack_sync() to reflect its new synchronous nature. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud