sfdisk: incremental kernel updates for -N and --append
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libfdisk: propagate errors from fdisk_reread_changes()libfdisk/ | +6 | 0 replies | |
| 2/3 | libfdisk: limit resized DOS extended partitions to two sectorslibfdisk/ | +7 | 0 replies | |
| 3/3 | sfdisk: update only changed partitions with -N and --appenddisk-utils/ disk-utils/ tests/ +40 more | +133 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] sfdisk: incremental kernel updates for -N and --append
Hi Karel,
This implements #4634: -N and --append update only changed kernel partitions. Two preparatory libfdisk fixes cover error returns and DOS extended-partition sizes.
In an isolated x86_64 VM, all 111 sfdisk/libfdisk subtests passed. The new regression fails on the baseline and passes with GCC and Clang ASan/UBSan. I also checked 4096-byte sectors and appending alongside an active swap partition.
Thanks,
Tianyi
Tianyi Chen (3):
libfdisk: propagate errors from fdisk_reread_changes()
libfdisk: limit resized DOS extended partitions to two sectors
sfdisk: update only changed partitions with -N and --append
44 files changed, 146 insertions(+), 45 deletions(-) create mode 100644 tests/expected/sfdisk/reread-dos create mode 100644 tests/expected/sfdisk/reread-gpt create mode 100755 tests/ts/sfdisk/reread
Signature · 1 line
2.55.0