This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [linux-2.6.18-xen] blktap: Indirection in vm_area_struct

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] blktap: Indirection in vm_area_struct->vm_private_data
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jun 2009 09:05:07 -0700
Delivery-date: Tue, 16 Jun 2009 09:05:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245146979 -3600
# Node ID 9242c5b965c181a4eb095570c51b1cc05bd58a33
# Parent  046a6eabd4dc70db61d26321d45155ca6e8bddfd
blktap: Indirection in vm_area_struct->vm_private_data

The recent patch in linux-2.6.18.hg (878: eba6fe6d8d53) changed the
way that the foreign map is stored in vm_area_struct. Currently blktap
(not 2) implementation is internally inconsistent, which triggers
kernel bug when tap:aio disk is used (dump attached at the end of the

Signed-off-by: Grzegorz Milos <gm281@xxxxxxxxx>
 drivers/xen/blktap/blktap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 046a6eabd4dc -r 9242c5b965c1 drivers/xen/blktap/blktap.c
--- a/drivers/xen/blktap/blktap.c       Tue Jun 16 11:07:19 2009 +0100
+++ b/drivers/xen/blktap/blktap.c       Tue Jun 16 11:09:39 2009 +0100
@@ -733,7 +733,7 @@ static int blktap_mmap(struct file *filp
                goto fail;
-       vma->vm_private_data = info->foreign_map.map;
+       vma->vm_private_data = &info->foreign_map;
        vma->vm_flags |= VM_FOREIGN;
        vma->vm_flags |= VM_DONTCOPY;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] blktap: Indirection in vm_area_struct->vm_private_data, Xen patchbot-linux-2.6.18-xen <=