From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: WARNING: at kernel/timer.c:1012 del_timer_sync+0x39/0x4e() Date: Fri, 25 Mar 2011 14:01:10 +0000 Message-ID: <4D8CA026.9000002@goop.org> References: <4D8C8A6F.6090208@goop.org> <4D8C9004.6080804@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D8C9004.6080804@kernel.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jens Axboe Cc: Thomas Gleixner , "Xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 03/25/2011 12:52 PM, Jens Axboe wrote: >> How should this be fixed? Is this call to blk_stop_queue() bogus, or is >> it OK to call it in a handler like this? If so, is the warning itself >> wrong? > Calling it in there should be fine, the problem is that the work cancel > turns into a sync timer delete. That is not needed. Can you try the > below? Yep, that works. Tested-by: Jeremy Fitzhardinge >> Does this relate to 7eaceaccab5f4 "block: remove per-queue plugging"? > No OK. Is the correct fix for that change to just remove all the plug/unplug code? We have some still out-of-tree code that stopped compiling. Thanks, J