Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752605AbbGWJH2 (ORCPT ); Thu, 23 Jul 2015 05:07:28 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:14872 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbbGWJHT (ORCPT ); Thu, 23 Jul 2015 05:07:19 -0400 X-IronPort-AV: E=Sophos;i="5.15,529,1432598400"; d="scan'208";a="286786733" Message-ID: <55B0AEB2.4070202@citrix.com> Date: Thu, 23 Jul 2015 11:06:58 +0200 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Bob Liu , CC: , , Subject: Re: [PATCH v2] xen-blkback: replace work_pending with work_busy in purge_persistent_gnt() References: <1437547210-32573-1-git-send-email-bob.liu@oracle.com> <1437547210-32573-3-git-send-email-bob.liu@oracle.com> In-Reply-To: <1437547210-32573-3-git-send-email-bob.liu@oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 19 El 22/07/15 a les 8.40, Bob Liu ha escrit: > The BUG_ON() in purge_persistent_gnt() will be triggered when previous purge > work haven't finished. > There is a work_pending() before this BUG_ON, but it doesn't account if the work > is still currently running. > > Signed-off-by: Bob Liu Acked-by: Roger Pau Monn? Should be backported to stable branches. Roger. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/