Re: exit_aio() hang after I/O failure

From: Jeff Moyer
Date: Mon Feb 13 2012 - 09:11:49 EST


Bart Van Assche <bvanassche@xxxxxxx> writes:

> On Mon, Jan 23, 2012 at 4:47 PM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
>> On Mon, Jan 23, 2012 at 4:15 PM, Jeff Moyer <jmoyer@xxxxxxxxxx> wrote:
>> > Bart Van Assche <bvanassche@xxxxxxx> writes:
>> > > Apparently processes can hang in exit_aio() with at least kernel 3.2.1
>> > > after an I/O failure. Has anyone seen this before ?
>> > >
>> > > This occurred after a SCSI device had been removed entirely (and hence
>> > > after all I/O requests were killed by scsi_remove_host()).
>> >
>> > Fixed here:
>> >
>> > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69e4747ee9727d660b88d7e1efe0f4afcb35db1b
>>
>> Thanks a lot for the feedback - I'll give this patch a try.
>
> Bad news: I've been able to reproduce exactly the same call stack with
> kernel 3.2.5. That kernel version includes the aforementioned commit.

OK, thanks for testing. I'll try to reproduce this.

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/