xfs
[Top] [All Lists]

Re: kernel BUG at drivers/block/virtio_blk.c:172!

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Jeff Layton <jlayton@xxxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: kernel BUG at drivers/block/virtio_blk.c:172!
From: Jens Axboe <axboe@xxxxxxxxx>
Date: Mon, 10 Nov 2014 16:31:51 -0700
Cc: virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Ming Lei <tom.leiming@xxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <87bnofnzop.fsf@xxxxxxxxxxxxxxx>
References: <20141107080416.0837a88c@xxxxxxxxxxxxxxxxxxxxxxx> <87bnofnzop.fsf@xxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
On 2014-11-10 02:59, Rusty Russell wrote:
Jeff Layton <jlayton@xxxxxxxxxxxxxxx> writes:

In the latest Fedora rawhide kernel in the repos, I'm seeing the
following oops when mounting xfs. rc2-ish kernels seem to be fine:

[   64.669633] ------------[ cut here ]------------
[   64.670008] kernel BUG at drivers/block/virtio_blk.c:172!

Hmm, that's:

        BUG_ON(req->nr_phys_segments + 2 > vblk->sg_elems);

But during our probe routine we said:

        /* We can handle whatever the host told us to handle. */
        blk_queue_max_segments(q, vblk->sg_elems-2);

Jens?

Known, I'm afraid, Ming is looking into it.

--
Jens Axboe

<Prev in Thread] Current Thread [Next in Thread>