[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [PATCH 1/3] block: Add blk_queue_copy_limits()
- From: Jens Axboe <jens axboe oracle com>
- To: "Jun'ichi Nomura" <j-nomura ce jp nec com>
- Cc: Mike Snitzer <snitzer redhat com>, "Martin K. Petersen" <martin petersen oracle com>, linux-kernel vger kernel org, device-mapper development <dm-devel redhat com>, Alasdair G Kergon <agk redhat com>
- Subject: [dm-devel] Re: [PATCH 1/3] block: Add blk_queue_copy_limits()
- Date: Fri, 18 Sep 2009 22:35:33 +0200
On Fri, Sep 18 2009, Jens Axboe wrote:
> On Sat, Sep 19 2009, Jun'ichi Nomura wrote:
> > This patch is a preparation for the last patch in this patchset
> > which changes blk_set_default_limits() to set 0 to max_sectors.
> >
> > dm uses blk_stack_limits() to merge limits of underlying devices
> > and copy the end result to the queue.
> > But if there's no underlying device (like 'zero' target),
> > max_sectors/max_hw_sectors are left unchanged from the default 0
> > and just copying it to the queue causes problems.
> >
> > Provide blk_queue_copy_limits() to get a safe copy with
> > invalid values fixed-up.
>
> Added for 2.6.32.
And removed, it's white space damaged and doesn't apply to the current
tree.
--
Jens Axboe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]