From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCHv5 12/14] xen-blkback: safely unmap grants in case they are still in use Date: Mon, 9 Mar 2015 09:30:25 +0000 Message-ID: <54FD6831.5020700@citrix.com> References: <1422377057-19221-1-git-send-email-david.vrabel@citrix.com> <1422377057-19221-13-git-send-email-david.vrabel@citrix.com> <54FD6331.8040503@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YUu1B-0000EH-A6 for xen-devel@lists.xenproject.org; Mon, 09 Mar 2015 09:30:33 +0000 In-Reply-To: <54FD6331.8040503@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bob Liu , David Vrabel Cc: xen-devel@lists.xenproject.org, Boris Ostrovsky , Jenny Herbert List-Id: xen-devel@lists.xenproject.org On 09/03/15 09:09, Bob Liu wrote: > Hi David, > > Recently I met an issue which is likely related with this patch. It > happened when running block benchmark on domU, the backend was an iSCSI > disk connected to dom0. I got below panic at put_page_testzero() on > dom0, at that time the ixgbe network card was freeing skb pages in > __skb_frag_unref() but the page->_count was already 0. > Do you think is it possiable that page was already freed by blkback? It's possible, but in this case I think the blkback device must have been destroyed for this to have happened, because blkback doesn't free the pages until it is destroyed. But in general networked block storage isn't safe without this patch. David