Merge lp://qastaging/~raharper/curtin/set_bcache_cache_mode into lp://qastaging/~curtin-dev/curtin/trunk
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Merged at revision: | 292 |
Proposed branch: | lp://qastaging/~raharper/curtin/set_bcache_cache_mode |
Merge into: | lp://qastaging/~curtin-dev/curtin/trunk |
Diff against target: |
104 lines (+44/-1) 3 files modified
curtin/commands/block_meta.py (+37/-0) examples/tests/mdadm_bcache.yaml (+1/-0) tests/vmtests/test_mdadm_bcache.py (+6/-1) |
To merge this branch: | bzr merge lp://qastaging/~raharper/curtin/set_bcache_cache_mode |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Review via email: mp+276194@code.qastaging.launchpad.net |
Description of the change
Update curtin to write out cache mode for bcache devices if 'cache_mode' is present in storage config for bcache devices.
Update vmtest for bcache to confirm that we can set cache_mode; note it also confirms that the setting is persistent since we reboot between curtin install and vmtest validation.
Fixes: lp:1510334
To post a comment you must log in.
one suggestion in line. other than that, looks good.
and if i'm wrong on that, then go ahead and commit anyway.