Change from v2: Look at the error return from the aio callback from fsync, as well. (thanks Kevin)
Bug fixes for gluster; third patch is to prevent a potential data loss when trying to recover from a recoverable error (such as ENOSPC). The final patch closes the gluster fd and sets the protocol drv to NULL on fsync failure in gluster; we have no way of knowing what gluster versions support retaining fysnc cache on error, so until we do the safest thing to do is invalidate the drive. Jeff Cody (3): block/gluster: return correct error value block/gluster: code movement of qemu_gluster_close() block/gluster: prevent data loss after i/o error block/gluster.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++---------- configure | 8 ++++++ 2 files changed, 72 insertions(+), 13 deletions(-) -- 1.9.3