delay when upgrading
Bug #1449032 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Michael Vogt | ||
15.04 |
Fix Released
|
High
|
Michael Vogt |
Bug Description
When trying to perform an upgrade (bug #1447652), I noticed a significant delay before seeing any progress. From IRC:
08:16 < mvo> jdstrand: I think its because there is a thing called SyncBootloader files that will always cp /boot/a -> /boot/b which
is now very slow because we use sync and also not needed because ubuntu-device-flash already did that
08:17 < mvo> jdstrand: so its a separate bug, but if you don't mind, please file it because I think we need to kill that function
08:17 < mvo> jdstrand: if you ctrl-z and ps afx you probably see a "cp -a" there
08:17 < mvo> cp -a /boot/a /boot/b
08:17 < mvo> to be precise
Related branches
lp:~mvo/snappy/snappy-lp1449032-poor-mans-rsync-15.04
- John Lenton (community): Approve
-
Diff: 311 lines (+194/-7)8 files modifiedhelpers/helpers.go (+69/-0)
helpers/helpers_test.go (+102/-0)
partition/bootloader_uboot.go (+1/-4)
partition/partition.go (+3/-0)
progress/progress.go (+6/-2)
progress/progress_test.go (+1/-1)
snappy/systemimage.go (+10/-0)
snappy/systemimage_native.go (+2/-0)
description: | updated |
Changed in snappy-ubuntu: | |
status: | New → Triaged |
importance: | Undecided → High |
affects: | snappy-ubuntu → snappy |
Changed in snappy: | |
assignee: | nobody → Michael Vogt (mvo) |
Changed in snappy: | |
status: | Triaged → In Progress |
Changed in snappy: | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
Changed in snappy: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I think we just need to remove SyncBootloaderFiles as ubuntu-device-flash is populating both /boot/a and /boot/b nowdays.