rbd: send notify ack asynchronously
authorAlex Elder <elder@inktank.com>
Thu, 17 Jan 2013 18:18:46 +0000 (12:18 -0600)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 02:29:09 +0000 (18:29 -0800)
commitcf81b60e4bbd4a1281fe2640f9c0c40fe3a85fdf
tree093a86f3c3809c4013f8f9d4b8da83acc09cfab2
parent5ae9db81b45c2d95554c665043afffd5e9a7d5ac
rbd: send notify ack asynchronously

When we receive notification of a change to an rbd image's header
object we need to refresh our information about the image (its
size and snapshot context).  Once we have refreshed our rbd image
we need to acknowledge the notification.

This acknowledgement was previously done synchronously, but there's
really no need to wait for it to complete.

Change it so the caller doesn't wait for the notify acknowledgement
request to complete.  And change the name to reflect it's no longer
synchronous.

This resolves:
    http://tracker.newdream.net/issues/3877

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c