On Mon, Nov 10, 2014 at 9:05 PM, Lukáš Czerner <[email protected]> wrote:
> On Mon, 10 Nov 2014, Ming Lei wrote:
>
>> Date: Mon, 10 Nov 2014 20:18:32 +0800
>> From: Ming Lei <[email protected]>
>> To: Lukáš Czerner <[email protected]>
>> Cc: Jens Axboe <[email protected]>,
>>     Linux Virtualization <[email protected]>,
>>     Christoph Hellwig <[email protected]>
>> Subject: Re: Re: kernel BUG at drivers/block/virtio_blk.c:172
>>
>> On Mon, Nov 10, 2014 at 7:59 PM, Lukáš Czerner <[email protected]> wrote:
>> >
>> > Hi,
>> >
>> > so I encountered it again on 3.17.0-rc4. This output is from the
>> > run with your patch.
>> >
>> > I am using libvirt (virt-manager) to configure and run the virtual
>> > machine, but looking at the xml, I do not think it's passing
>> > 'scsi=off' at all.
>> >
>> > Btw, that xfs file system is a root file system.
>> >
>> >
>> > [    3.667553] blk_recount_segments: 1-0-1 vcnt-0 segs-128
>> > [    3.668692] blk_recount_segments: 1-0-1 vcnt-0 segs-128
>> > [    3.669897] blk_recount_segments: 1-0-1 vcnt-0 segs-128
>> > [    3.671083] blk_recount_segments: 1-0-1 vcnt-0 segs-128
>>
>> Hamm, I should have used bi_phys_segments to decide if
>> merge is needed, and attached patch should fix the problem.
>
> Thanks for the patch, unfortunately it does not fix the issue for
> me. I am willing to try something else though :)

Care to post the log(like "blk_recount_segments: 1-0-1
vcnt-0 segs-128") after applying the patch in my last reply?

Thanks,
-- 
Ming Lei
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to