Merge lp:~raharper/curtin/trunk.fix-bcache-multi-bdev-to-cdev-lp1514094 into lp:~curtin-dev/curtin/trunk
Status: | Merged |
---|---|
Merged at revision: | 304 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-bcache-multi-bdev-to-cdev-lp1514094 |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
266 lines (+134/-23) 4 files modified
curtin/commands/block_meta.py (+73/-13) curtin/commands/curthooks.py (+4/-0) examples/tests/mdadm_bcache.yaml (+18/-0) tests/vmtests/test_mdadm_bcache.py (+39/-10) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-bcache-multi-bdev-to-cdev-lp1514094 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+277255@code.launchpad.net |
Commit message
Allow re-use of bcache cache devices with separate backing devices
Decouple creation of bcache caches and backing devices by dropping
use of make-bcache -B <> -C <>, in favor of single use -B and -C
and combining backing devices with caches via sysfs attach attributes.
Update the mdadm/bcache vmtest to include a multi-bcache backing device cached by single cachedevice test.
While validating results, fix lurking issue with mdadm.conf not getting updated post raid configuration in target triggering https:/
Description of the change
Refactor how we create bcache caches and backing devices; decoupling those (ie, don't use make-bcache -B -C) allow us to discover previously created backing or caching devices and attach them via sysfs interface.
Update the mdadm/bcache vmtest to include a multi-bcache backing device cached by single cachedevice test.
While validating results, fix lurking issue with mdadm.conf not getting updated post raid configuration in target triggering https:/
Latestly, this branch passes make check and make vmtest.
this looks good other than the one comment i have inline below.
basically, for speed purposes i'm interested in avoiding calling and recalling update-initramfs mjultiple times.