[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121002141626.4ac3c537.akpm@linux-foundation.org>
Date: Tue, 2 Oct 2012 14:16:26 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ed Cashin <ecashin@...aid.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] aoe: retain static block device numbers for
backwards compatibility
On Mon, 1 Oct 2012 19:01:15 -0700
Ed Cashin <ecashin@...aid.com> wrote:
> The old mapping between AoE target shelf and slot addresses and
> the block device minor number is retained as a
> backwards-compatible feature, with a new "aoe_dyndevs" module
> parameter available for enabling dynamic block device minor
> numbers.
OK, so the default behaviour is unchanged and users opt into the new
behaviour by providing this module parameter?
Why is this worth doing? What behaviour changes would users see if we
defaulted to dynamic minors?
I'm surprised we don't have some library code somewhere for managing a
map of minor numbers - it's an operation which is common to so many
drivers. It would be bitmap or IDR based, I expect.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists