Re: [PATCH] bcache: Fix bcache device names

2017-03-02 Thread Coly Li
On 2017/3/2 下午7:11, Stefan Bader wrote: > When adding partition support to bcache, the name assignment was not > updated, resulting in numbers jumping (bcache0, bcache16, bcache32...). > Fix this by taking BCACHE_MINORS into account when assigning the disk > name. > > BugLink: https://bugs.launchp

[PATCH] bcache: Fix bcache device names

2017-03-02 Thread Stefan Bader
When adding partition support to bcache, the name assignment was not updated, resulting in numbers jumping (bcache0, bcache16, bcache32...). Fix this by taking BCACHE_MINORS into account when assigning the disk name. BugLink: https://bugs.launchpad.net/bugs/1667078 Fixes: b8c0d91 (bcache: partiti