[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Quieten down grant-table transfer failure when it is because
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 877d738e7a4005bee085bb42341b9d754e8eb978 # Parent 0ea18c1ea1349e753740212efd8e23b564fd2b56 Quieten down grant-table transfer failure when it is because a domain is dying. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 0ea18c1ea134 -r 877d738e7a40 xen/common/grant_table.c --- a/xen/common/grant_table.c Thu Nov 24 18:40:18 2005 +++ b/xen/common/grant_table.c Thu Nov 24 18:49:15 2005 @@ -726,10 +726,11 @@ unlikely(e->tot_pages >= e->max_pages) || unlikely(!gnttab_prepare_for_transfer(e, d, gop.ref)) ) { - DPRINTK("gnttab_transfer: Transferee has no reservation headroom " - "(%d,%d) or provided a bad grant ref (%08x) or " - "is dying (%lx)\n", - e->tot_pages, e->max_pages, gop.ref, e->domain_flags); + if ( !test_bit(_DOMF_dying, &e->domain_flags) ) + DPRINTK("gnttab_transfer: Transferee has no reservation " + "headroom (%d,%d) or provided a bad grant ref (%08x) " + "or is dying (%lx)\n", + e->tot_pages, e->max_pages, gop.ref, e->domain_flags); spin_unlock(&e->page_alloc_lock); put_domain(e); (void)__put_user(GNTST_general_error, &uop[i].status); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |