[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v2] dm table: do not allow queue limits that will exceed hardware limits
- From: Alasdair G Kergon <agk redhat com>
- To: David Jeffery <djeffery redhat com>
- Cc: dm-devel redhat com, Mike Snitzer <snitzer redhat com>
- Subject: Re: [dm-devel] [PATCH v2] dm table: do not allow queue limits that will exceed hardware limits
- Date: Tue, 18 Sep 2012 12:40:23 +0100
On Mon, Sep 17, 2012 at 03:44:29PM -0400, David Jeffery wrote:
> @@ -2425,6 +2425,15 @@ struct dm_table *dm_swap_table(struct mapped_device *md, struct dm_table *table)
> + if (limits.max_sectors == UINT_MAX)
Specifically, I don't want dm.c to be peering directly into limits.
It just called calculate_queue_limits() above that.
Why is calculate_queue_limits getting the limits wrong?
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]