Re: exit_aio() hang after I/O failure

Jeff Moyer
2012-02-13T14:11:52Z

Bart Van Assche <bvanassche@acm.org> writes:

> On Mon, Jan 23, 2012 at 4:47 PM, Bart Van Assche <bvanassche@acm.org> wrote:
>> On Mon, Jan 23, 2012 at 4:15 PM, Jeff Moyer <jmoyer@redhat.com> wrote:
>> > Bart Van Assche <bvanassche@acm.org> 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