lp:~raharper/curtin/trunk.nvme_bcache
Created by
Ryan Harper
and last modified
- Get this branch:
- bzr branch lp:~raharper/curtin/trunk.nvme_bcache
Only
Ryan Harper
can upload to this branch. If you are
Ryan Harper
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser (community): Approve
-
Diff: 684 lines (+559/-22)6 files modifiedcurtin/block/clear_holders.py (+81/-14)
curtin/util.py (+21/-0)
examples/tests/nvme_bcache.yaml (+114/-0)
tests/unittests/test_clear_holders.py (+197/-8)
tests/unittests/test_util.py (+69/-0)
tests/vmtests/test_nvme.py (+77/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 493. By Ryan Harper
-
Add strict mode for bcache sysfs paths and longer, frequent retries
Feedback from MP suggested we should apply some path checking
when handling sysfs bcache entries; add the strict mode used in
other block methods.When waiting for file removal, we want to avoid blocking for long
periods and also ensure we've waited long enough. A bcache device
may need to flush a cache to the backing device which could take
some time. We also don't want to add latency if it isn't needed by
incurring long sleep intervals. Now we will wait 30 seconds in total
and check every 0.2 seconds if the device has been removed.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~curtin-dev/curtin/trunk