rbd: add doc comments for Flush function
@@ -866,6 +866,9 @@ func (image *Image) WriteAt(data []byte, off int64) (n int, err error) {
return ret, err
}
+// Flush all cached writes to storage.
+//
+// Implements:
// int rbd_flush(rbd_image_t image);
func (image *Image) Flush() error {
if err := image.validate(imageIsOpen); err != nil {
