@Ryan, yeah, they did not for bcache. But this code is only executed once during the lifetime of a device. So I would not worry too much about optimization here. Might even be that gcc cleverly does this anyway. :)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1667078 Title: bcache device numbers increase by 16 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667078/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs