From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759409Ab2HXNNM (ORCPT ); Fri, 24 Aug 2012 09:13:12 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:33429 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119Ab2HXNNG (ORCPT ); Fri, 24 Aug 2012 09:13:06 -0400 Message-ID: <50377DDD.7060404@acm.org> Date: Fri, 24 Aug 2012 13:13:01 +0000 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: linux-kernel CC: Tejun Heo , Jens Axboe , Mike Christie Subject: Kernel hangs in truncate_inode_pages() X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, If I log in with the open-iscsi initiator to an iSCSI target an power down the target the initiator hangs in truncate_inode_pages(). This happens systematically with kernel 3.6-rc3 and it's something I've never seen with kernel 3.4 or before. Has anyone else already run into this issue ? >>From the output of echo w >/proc/sysrq-trigger: SysRq : Show Blocked State task PC stack pid father udisks-part-id D ffffffff810f7530 0 30803 10057 0x00000006 ffff8801063c39a8 0000000000000046 ffff880126955d60 0000000000000002 ffff8801063c3fd8 ffff880126955d60 ffff8801063c3fd8 ffff8801063c3fd8 ffffffff81813420 ffff880126955d60 ffff8801063c39a8 ffff88012fa13990 Call Trace: [] ? __lock_page+0x70/0x70 [] schedule+0x29/0x70 [] io_schedule+0x8f/0xd0 [] sleep_on_page+0xe/0x20 [] __wait_on_bit_lock+0x5a/0xc0 [] ? find_get_pages+0x2a/0x1c0 [] ? release_pages+0x1af/0x200 [] __lock_page+0x67/0x70 [] ? autoremove_wake_function+0x40/0x40 [] truncate_inode_pages_range+0x456/0x480 [] ? trace_hardirqs_on+0xd/0x10 [] ? on_each_cpu_cond+0xaa/0xf0 [] truncate_inode_pages+0x15/0x20 [] kill_bdev+0x2f/0x40 [] __blkdev_put+0x76/0x1d0 [] blkdev_put+0x5d/0x180 [] blkdev_close+0x25/0x30 [] __fput+0xcc/0x240 [] ____fput+0xe/0x10 [] task_work_run+0x69/0xa0 [] do_exit+0x78f/0x930 [] ? get_signal_to_deliver+0xf0/0x6f0 [] ? _raw_spin_lock_irq+0x17/0x60 [] ? _raw_spin_unlock_irq+0x30/0x50 [] do_group_exit+0x4e/0xc0 [] get_signal_to_deliver+0x228/0x6f0 [] do_signal+0x3c/0x620 [] ? sysret_signal+0x5/0x3d [] do_notify_resume+0x6d/0xb0 [] ? trace_hardirqs_on_thunk+0x3a/0x3f [] int_signal+0x12/0x17 Bart.