[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Re: System hangs after echo value > /sys/block/dm-0/queue/nr_requests
- From: Jens Axboe <axboe suse de>
- To: Mike Christie <michaelc cs wisc edu>
- Cc: Andrew Morton <akpm osdl org>,Miquel van Smoorenburg <miquels cistron nl>, linux-lvm sistina com,linux-kernel vger kernel org, Nick Piggin <piggin cyberone com au>
- Subject: [linux-lvm] Re: System hangs after echo value > /sys/block/dm-0/queue/nr_requests
- Date: Thu Jan 1 11:29:10 2004
On Tue, Dec 30 2003, Mike Christie wrote:
> Andrew Morton wrote:
>
> >Where queue_requests_store() does wake_up(&rl->wait[READ]);
> >
> >It looks like nobody has called blk_init_queue() for this queue and the
> >waitqueue head is uninitialised.
> >
>
> DM, MD, rd and loop use blk_alloc_queue and blk_queue_make_request to
> initialize their queue, because they only use the make_request_fn. The
> attached patch prevents the queue from being registered if only
> blk_alloc_queue was called.
I'm fine with that patch since we don't have any attributes in there
that apply to just remappers.
--
Jens Axboe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]