We need changesets 11835-11837 from xen-unstable. [BLKTAP]: Kill duplicate fast_flush_area call The dispatch_rw_block_io may call fast_flush_area twice if create_lookup_pte_addr fails (there is a flush call at fail_flush already). The second call simply causes warnings to be printed on the console. This patch removes the duplicate call. Signed-off-by: Herbert Xu <herbert.org.au> [BLKTAP]: Kill bogus fast_flush_area The function dispatch_rw_block_io may call fast_flush_area even before a pending request has been initialised. This patch deletes that call. Signed-off-by: Herbert Xu <herbert.org.au> [BLKTAP]: Fix potential grant entry leaks on error As it stands grant entries for the actual data are mapped in bulk. If one of the earlier entries fail to be mapped, it can cause all subsequent entries to be leaked if they were successfully mapped. This patch changes it so that we will continue to reap grant entries even when an error is detected. There is still a potential leak if create_lookup_pte_addr fails in fast_flush_area. This leak is not affected by this patch. Signed-off-by: Herbert Xu <herbert.org.au>
QE ack for RHEL5.
in 2.6.18-1.2943.el5
2.6.18-7.el5 included in 20070125.0.