From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asURV-0003t2-N2 for qemu-devel@nongnu.org; Tue, 19 Apr 2016 08:07:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asURR-0003A2-TS for qemu-devel@nongnu.org; Tue, 19 Apr 2016 08:07:45 -0400 From: Jeff Cody Date: Tue, 19 Apr 2016 08:07:27 -0400 Message-Id: Subject: [Qemu-devel] [PATCH for-2.6 v2 0/3] Bug fixes for gluster List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, kwolf@redhat.com, rwheeler@redhat.com, pkarampu@redhat.com, rgowdapp@redhat.com, ndevos@redhat.com 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 | 66 ++++++++++++++++++++++++++++++++++++++++++++++----------- configure | 8 +++++++ 2 files changed, 62 insertions(+), 12 deletions(-) -- 1.9.3