From: Mike Christie <michaelc@cs.wisc.edu>
To: Bart Van Assche <bvanassche@acm.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Tejun Heo <tj@kernel.org>, Jens Axboe <axboe@kernel.dk>
Subject: Re: Kernel hangs in truncate_inode_pages()
Date: Fri, 24 Aug 2012 12:24:17 -0500 [thread overview]
Message-ID: <5037B8C1.8050903@cs.wisc.edu> (raw)
In-Reply-To: <50377DDD.7060404@acm.org>
On 08/24/2012 08:13 AM, Bart Van Assche wrote:
> 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 ?
>
I have not seen this issue before and have not seen it reported.
Are you doing IO the disk at the time of power down, or are you doing a
iscsiadm -m node ... --logout command?
> 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:
> [<ffffffff810f7530>] ? __lock_page+0x70/0x70
> [<ffffffff8140c4e9>] schedule+0x29/0x70
> [<ffffffff8140c5bf>] io_schedule+0x8f/0xd0
> [<ffffffff810f753e>] sleep_on_page+0xe/0x20
> [<ffffffff8140a0fa>] __wait_on_bit_lock+0x5a/0xc0
> [<ffffffff810fa45a>] ? find_get_pages+0x2a/0x1c0
> [<ffffffff81104f7f>] ? release_pages+0x1af/0x200
> [<ffffffff810f7527>] __lock_page+0x67/0x70
> [<ffffffff810615a0>] ? autoremove_wake_function+0x40/0x40
> [<ffffffff81106976>] truncate_inode_pages_range+0x456/0x480
> [<ffffffff8109590d>] ? trace_hardirqs_on+0xd/0x10
> [<ffffffff8109be5a>] ? on_each_cpu_cond+0xaa/0xf0
> [<ffffffff81106a25>] truncate_inode_pages+0x15/0x20
> [<ffffffff8118389f>] kill_bdev+0x2f/0x40
> [<ffffffff81184096>] __blkdev_put+0x76/0x1d0
> [<ffffffff8118424d>] blkdev_put+0x5d/0x180
> [<ffffffff81184395>] blkdev_close+0x25/0x30
> [<ffffffff8114c43c>] __fput+0xcc/0x240
> [<ffffffff8114c5be>] ____fput+0xe/0x10
> [<ffffffff8105d419>] task_work_run+0x69/0xa0
> [<ffffffff8104165f>] do_exit+0x78f/0x930
> [<ffffffff810514f0>] ? get_signal_to_deliver+0xf0/0x6f0
> [<ffffffff8140d1e7>] ? _raw_spin_lock_irq+0x17/0x60
> [<ffffffff8140d930>] ? _raw_spin_unlock_irq+0x30/0x50
> [<ffffffff81041b5e>] do_group_exit+0x4e/0xc0
> [<ffffffff81051628>] get_signal_to_deliver+0x228/0x6f0
> [<ffffffff8100223c>] do_signal+0x3c/0x620
> [<ffffffff81415dcc>] ? sysret_signal+0x5/0x3d
> [<ffffffff810028ad>] do_notify_resume+0x6d/0xb0
> [<ffffffff8120846e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
> [<ffffffff81415fd8>] int_signal+0x12/0x17
>
> Bart.
>
next prev parent reply other threads:[~2012-08-24 17:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-24 13:13 Kernel hangs in truncate_inode_pages() Bart Van Assche
2012-08-24 17:24 ` Mike Christie [this message]
2012-08-24 17:47 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5037B8C1.8050903@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox