Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-15 Thread Jens Axboe
On 03/15/2016 03:15 PM, NeilBrown wrote: On Tue, Mar 15 2016, Ross Zwisler wrote: On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: When alloc_disk(0) is used, the ->major number is ignored and irrelevant. Yet several drivers register a major number anyway. This series of patches

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-15 Thread Jens Axboe
On 03/15/2016 03:15 PM, NeilBrown wrote: On Tue, Mar 15 2016, Ross Zwisler wrote: On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: When alloc_disk(0) is used, the ->major number is ignored and irrelevant. Yet several drivers register a major number anyway. This series of patches

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-15 Thread NeilBrown
On Tue, Mar 15 2016, Ross Zwisler wrote: > On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: >> When alloc_disk(0) is used, the ->major number is ignored and >> irrelevant. Yet several drivers register a major number anyway. >> >> This series of patches removes the pointless

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-15 Thread NeilBrown
On Tue, Mar 15 2016, Ross Zwisler wrote: > On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: >> When alloc_disk(0) is used, the ->major number is ignored and >> irrelevant. Yet several drivers register a major number anyway. >> >> This series of patches removes the pointless

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-14 Thread Ross Zwisler
On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: > When alloc_disk(0) is used, the ->major number is ignored and > irrelevant. Yet several drivers register a major number anyway. > > This series of patches removes the pointless registrations. The pmem > driver also does this, but a

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-14 Thread Ross Zwisler
On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: > When alloc_disk(0) is used, the ->major number is ignored and > irrelevant. Yet several drivers register a major number anyway. > > This series of patches removes the pointless registrations. The pmem > driver also does this, but a

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-09 Thread Dan Williams
On Wed, Mar 9, 2016 at 1:59 PM, NeilBrown wrote: > When alloc_disk(0) is used, the ->major number is ignored and > irrelevant. Yet several drivers register a major number anyway. > > This series of patches removes the pointless registrations. The pmem > driver also does this,

Re: [PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-09 Thread Dan Williams
On Wed, Mar 9, 2016 at 1:59 PM, NeilBrown wrote: > When alloc_disk(0) is used, the ->major number is ignored and > irrelevant. Yet several drivers register a major number anyway. > > This series of patches removes the pointless registrations. The pmem > driver also does this, but a patch has

[PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-09 Thread NeilBrown
When alloc_disk(0) is used, the ->major number is ignored and irrelevant. Yet several drivers register a major number anyway. This series of patches removes the pointless registrations. The pmem driver also does this, but a patch has already been sent for that driver. Note that I am not in a

[PATCH 0/4] Remove un-needed 'major' registration when alloc_disk(0) is used.

2016-03-09 Thread NeilBrown
When alloc_disk(0) is used, the ->major number is ignored and irrelevant. Yet several drivers register a major number anyway. This series of patches removes the pointless registrations. The pmem driver also does this, but a patch has already been sent for that driver. Note that I am not in a