Messages in this thread | | | Date | Tue, 2 Oct 2012 14:16:26 -0700 | From | Andrew Morton <> | 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@coraid.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.
| |