Received: from eggs.gnu.org ([2001:4830:134:3::10]:56721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWbr8-0000IC-Eb for qemu-devel@nongnu.org; Mon, 31 Aug 2015 23:03:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWbr5-0002pC-9J for qemu-devel@nongnu.org; Mon, 31 Aug 2015 23:03:30 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:36088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWbr5-0002p4-2U for qemu-devel@nongnu.org; Mon, 31 Aug 2015 23:03:27 -0400 Received: by pacgr6 with SMTP id gr6so9031152pac.3 for ; Mon, 31 Aug 2015 20:03:25 -0700 (PDT) Sender: Hitoshi Mitake From: Hitoshi Mitake Date: Tue, 1 Sep 2015 12:03:08 +0900 Message-Id: <1441076590-8015-1-git-send-email-mitake.hitoshi@lab.ntt.co.jp> Subject: [Qemu-devel] [PATCH 0/2] sheepdog driver update List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hitoshi Mitake , sheepdog@lists.wpkg.org This patchset has two patches. The first one is a defensive purpose for rare cases. It is an improvement of the previous commit 96b14ff85acf. The second one is refining discard operation caused by fstrim command, etc. Current sheepdog driver corrupts VDIs when the discard operation is issued. This patch solves the problem. Hitoshi Mitake (2): sheepdog: use per AIOCB dirty indexes for non overlapping requests sheepdog: refine discard support block/sheepdog.c | 92 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 55 insertions(+), 37 deletions(-) -- 1.9.1