Re: [block:for-3.14/core] kernel BUG at fs/bio.c:1748

From: Jens Axboe
Date: Wed Jan 08 2014 - 16:22:16 EST


On 01/08/2014 02:13 PM, Chris Mason wrote:
> On Tue, 2014-01-07 at 12:15 -0800, Muthu Kumar wrote:
>> Thanks Fengguang. Final patch with added comment. BTW, fengguang
>> mentioned that git-am has trouble with the inline patch and "quilt
>> import" worked fine for him...
>>
>> ------------
>> In btrfs_end_bio(), we increment bi_remaining if is_orig_bio. If not,
>> we restore the orig_bio but failed to increment bi_remaining for
>> orig_bio, which triggers a BUG_ON later when bio_endio is called. Fix
>> is to increment bi_remaining when we restore the orig bio as well.
>>
>> Reported-and-Tested-by: Fengguang wu <fengguang.wu@xxxxxxxxx>
>> CC: Kent Overstreet <kmo@xxxxxxxxxxxxx>
>> CC: Jens Axboe <axboe@xxxxxxxxx>
>> CC: Chris Mason <clm@xxxxxx>
>> Signed-off-by: Muthukumar Ratty <muthur@xxxxxxxxx>
>>
>
> Reviewed-by: Chris Mason <clm@xxxxxx>
>
> Jens, please pull this one in.

Done, with the added reviewed and tested-by's.

--
Jens Axboe

--
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/