On Thu, Mar 2, 2017 at 4:56 AM, Stefan Bader <email address hidden>
wrote:
> I created a modified patch and verified that
> - bcache base devices again are numbered 0,1,...
> - partioning a bcache device creates the expected bcacheXpY devices
> Will submit this change upstream (and for pre-stable zesty).
>
> ** Patch added: "0001-bcache-Fix-bcache-device-names.patch"
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/
> 1667078/+attachment/4829714/+files/0001-bcache-Fix-bcache-
> device-names.patch
>
>
If possible, it would be good to avoid the div; that's why I had used a
shift.
In other drivers, they define a PART_BITS 4 or so
and use that to shift up or down to get index vs. minor.
On Thu, Mar 2, 2017 at 4:56 AM, Stefan Bader <email address hidden>
wrote:
> I created a modified patch and verified that Fix-bcache- device- names.patch" /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/ +attachment/ 4829714/ +files/ 0001-bcache- Fix-bcache-
> - bcache base devices again are numbered 0,1,...
> - partioning a bcache device creates the expected bcacheXpY devices
> Will submit this change upstream (and for pre-stable zesty).
>
> ** Patch added: "0001-bcache-
> https:/
> 1667078/
> device-names.patch
>
>
If possible, it would be good to avoid the div; that's why I had used a
shift.
In other drivers, they define a PART_BITS 4 or so
and use that to shift up or down to get index vs. minor.
> -- /bugs.launchpad .net/bugs/ 1667078 /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/ +subscriptions
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> bcache device numbers increase by 16
>
> To manage notifications about this bug go to:
> https:/
> 1667078/
>