librbd: feature updates are not seen by mirror_image_enable()
I'm making two calls to librbd:
The mirror call  fails, reporting that journaling is not enabled. But the rbd client confirms that the feature_update() call did succeed in setting the journaling flag. If before line , I add a call to fetch the existing image features, then the mirror_image_enable call succeeds.
It sounds like mirror_image_enable is getting the update but not re-reading the header, while features() does the usual check if there are pending notifications to process before fetching the features.
If this isn't a high-priority issue, would you mind if I work on this?