Page MenuHomeSolus

Update btrfs-progs to 4.16.1
ClosedPublic

Authored by der_eismann on Apr 9 2018, 7:38 PM.
Tags
None
Referenced Files
F11050736: D2693.id.diff
Thu, Aug 10, 7:17 PM
F11050734: D2693.id7285.diff
Thu, Aug 10, 7:17 PM
F11050733: D2693.id6885.diff
Thu, Aug 10, 7:17 PM
F11050732: D2693.id6695.diff
Thu, Aug 10, 7:17 PM
F11050731: D2693.id6883.diff
Thu, Aug 10, 7:17 PM
F11035919: D2693.diff
Wed, Aug 9, 6:36 PM
F10984104: D2693.id7285.diff
Sun, Jul 23, 4:35 PM
F10984084: D2693.id6695.diff
Sun, Jul 23, 4:25 PM

Details

Summary

Changes:

  • libbtrfsutil - new LGPL library to wrap userspace functionality
  • prevent incorrect use of subvol_strip_mountpoint
  • dump-super: don't verify csum for unknown type
  • convert: fix inline extent creation condition
  • image: handle missing device for RAID1
  • dump-tree: add option to print only children nodes of a given block
  • mkfs: add UUID and otime to root of FS_TREE - with the uuid, snapshots will be now linked to the toplevel subvol by the parent UUID
  • mkfs: don't follow symlinks when calculating size
  • mkfs: pre-create the UUID tree
  • mkfs: detect if thin-provisioned device does not have enough space
  • remove obsolete tools: btrfs-debug-tree, btrfs-zero-log, btrfs-show-super, btrfs-calc-size
  • sb-mod: new debugging tool to edit superblock items
  • check: don't try to verify checksums on metadata dump images

Full changelog available here.

Test Plan

Created a partition, copied data on it, shrinked it and checked it. In console and GParted, all fine.

Diff Detail

Repository
R464 btrfs-progs
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

der_eismann edited the test plan for this revision. (Show Details)

euuh that's nice but we're still running the kernel 4.15 !

Hey kyrios, according to their FAQ:

Do I have to keep my btrfs-progs at the same version as my kernel?

No.
If your btrfs-progs is newer than your kernel, then you may not be able to use some of the features that the btrfs-progs offers, because the kernel doesn't support them.
If your btrfs-progs is older than your kernel, then you may not be able to use some of the features that the kernel offers, because the btrfs-progs doesn't support them.
Other than that, there should be no restrictions on which versions work together.

If you run linux-lts instead of linux-current you also get the newer version, so I don't see a problem here.

thanks @der_eismann I thought it should follow the kernel version

der_eismann retitled this revision from Update btrfs-progs to 4.16 to Update btrfs-progs to 4.16.1.Apr 25 2018, 5:42 PM
der_eismann edited the summary of this revision. (Show Details)
JoshStrobl added a subscriber: JoshStrobl.

LGTM, just blocked by other stack items.

This revision is now accepted and ready to land.May 19 2018, 2:48 PM
This revision was automatically updated to reflect the committed changes.

I'm gonna see about reverting this back to 4.15.1 since we went back to 4.15.x kernel releases.

Actually no, fails against 4.15.1. Imma just keep it at 4.16.1 and leave it up to you to test :D