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
email).
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
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;