1 btrfs-progs-4.12 (2017-07-26)
2 * subvol show: new options --rootid, --uuid to show subvol by the given spec
3 * convert: progress report fixes, found by tsan
4 * image: progress report fixes, found by tsan
5 * fix infinite looping in find-root, or when looking for free extents
9 * build: ThreadSanitizer support
10 * tests: stricter checks for mounted filesystem
12 btrfs-progs-4.11.1 (2017-06-30)
13 * image: restoring from multiple devices
14 * dev stats: make --check option work
15 * check: fix false alert with extent hole on a NO_HOLE filesystem
16 * check: lowmem mode, fix false alert in case of mixed inline and compressed
18 * convert: work with large filesystems (many TB)
19 * convert: fix overwriting of eb header flags
20 * convert: do not clear NODATASUM flag in inodes when run with --no-datasum
22 * build: sync Android.mk with Makefile
25 * fix 008 and 009, shell quotation mistake
27 btrfs-progs-4.11 (2017-05-18)
28 * receive: fix handling empty stream with -e (multi-stream)
29 * send dump: fix printing long file names
30 * stability fixes for: dump-super, print-tree, check
31 * option parser updates: global options are parsed before the subcommand name
32 (old xfstests will fail)
33 * new and updated tests
34 * documentation updates
36 btrfs-progs-4.10.2 (2017-03-31)
37 * check: lowmem mode fix for false alert about lost backrefs
38 * convert: minor bugfix
39 * library: fix build, misisng symbols, added tests
41 btrfs-progs-4.10.1 (2017-03-17)
42 * receive: handle subvolume in path clone
43 * convert: rollback fixed (rewrite was needed to address previous design issues)
44 * build: fix build of 3rd party tools, missing <linux/sizes.h>
45 * dump-tree: print log trees
47 * new and updated tests
49 btrfs-progs-4.10 (2017-03-08)
50 * send: dump output fixes: missing newlies
51 * check: several fixes for the lowmem mode, improved error reporting
53 * removed some library deps for binaries that not use them
55 * split Makefile to the autotool generated part and the rest, not needed
56 to autogen.sh after adding a file
57 * shared code: sync easy parts with kernel sources
60 * source file reorganization: convert, mkfs, utils
61 * lots of spelling fixes in docs, other updates
64 btrfs-progs-4.9.1 (2017-01-27)
66 * use correct inode number for lost+found files
67 * lowmem mode: fix false alert on dropped leaf
68 * size reports: negative numbers might appear in size reports during device
69 deletes (previously in EiB units)
70 * mkfs: print device being trimmed
71 * defrag: v1 ioctl support dropped
72 * quota: print message before starting to wait for rescan
73 * qgroup show: new option to sync before printing the stats
75 * corrupt-block enhancements
76 * backtrace and co. cleanups
79 btrfs-progs-4.9 (2016-12-23)
80 * check: many lowmem mode updates
81 * send: use splice syscall to copy buffer from kernel
82 * receive: new option to dump the stream in textual form
84 * move sources to own directory
85 * prevent accounting of blocks beyond end of the device
86 * make it work with 64k sectorsize
87 * mkfs: move sources to own directory
88 * defrag: warns if directory used without -r
90 * new option to check stats for non-zero values
91 * add long option for -z
92 * library: version bump to 0.1.2, added subvol_uuid_search2
97 btrfs-progs-4.8.5 (2016-11-30)
98 * receive: fix detection of end of stream (error reported even for valid
101 * added test for the receive bug
102 * fix linking of library-test
104 btrfs-progs-4.8.4 (2016-11-25)
105 * check: support for clearing space cache v2 (free-space-tree)
107 * more sanity checks (with tests), cleanups
108 * fix for fstests/btrfs/038 and btrfs/117 failures
110 * fix compilation of standalone ioctl.h, pull NULL definition
111 * fix library link errors introduced in 4.8.3
113 * add more fuzzed images from bugzilla
114 * add bogus send stream checks
115 * fixups and enhancements for CI environment builds
116 * misc refinements and updates of testing framework
118 * move sources for btrfs-image to own directory
119 * deprecated and not build by default: btrfs-calc-size, btrfs-show-super
122 btrfs-progs-4.8.3 (2016-11-11)
124 * support for clearing space cache (v1)
125 * size reduction of inode backref structure
127 * fix handling of multiple snapshots (-p and -c options)
128 * transfer buffer increased (should reduce number of context switches)
129 * reuse existing file for output (-f), eg. when root cannot create files (NFS)
131 * print missing items for various structures
132 * new: dev stats, balance status item
133 * sync key names with kernel (the persistent items)
134 * subvol show: now able to print the toplevel subvolume -- the creation time
135 might be wrong though
137 * store the creation time of toplevel root inode
138 * print UUID in the summary
139 * build: travis CI for devel
141 * lots of cleanups and refactoring
142 * switched to on-stack path structure
143 * fixes from coverity, asan, ubsan
145 * updates in testing infrastructure
146 * fixed convert test 005
148 btrfs-progs-4.8.2 (2016-10-26)
149 * convert: also convert file attributes
150 * convert: fix wrong tree block alignment for unalianged block group
151 * check: quota verify fixes, handle reloc tree
152 * build: add stub for FIEMAP_EXTENT_SHARED, compiles on ancient kernels
153 * build: add stub for BUILD_ASSERT when ioctl.h is included
154 * dump-tree: don't crash on unrecognized tree id for -t
156 * add more ioctl tests
157 * convert: more symlink tests, attribute tests
158 * quota verify for reloc tree
161 btrfs-progs-4.8.1 (2016-10-12)
163 * build without backtrace support fixed
165 btrfs-progs-4.8 (2016-10-05)
166 * error handling improvements all over the place
167 * new fuzzed images, test updates
169 * minor cleanups and improvements
170 * kernel library helpers moved to own directory
171 * qgroup: fix regression leading to incorrect status after check,
174 btrfs-progs-4.7.3 (2016-09-21)
175 * fixed free space tree compat status
176 * check: low-mem mode: handle partially dropped snapshots
177 * dump-super: consolidate options for superblock copy
178 * tree-stats: check mount status
179 * subvol delete: handle verbosity option
180 * defrag: print correct error string
181 * mkfs: fix reading rotational status
184 * documentation updates
185 * enhanced tests: convert, fuzzed images, more tools to run on fuzzed
188 btrfs-progs-4.7.2 (2016-09-05)
190 * urgent fix: false report of backref mismatches; do not --repair
191 last unaffected version 4.6.1 (code reverted to that state)
193 * added more sanity checks for various structures
194 * testing images added
195 * build: udev compatibility: do not install .rules on version < 190
197 * dump-super: do not crash on garbage value in csum_type
198 * minor improvements in messages and help strings
200 * filesystem features
202 btrfs-progs-4.7.1 (2016-08-25)
204 * new optional mode: optimized for low memory usage (memory/io tradeoff)
205 * --mode=lowmem, not default, still considered experimental
206 * does not work with --repair yet
207 * convert: regression fix, ext2_subvol/image rw permissions
209 * two-staged creation, partially created filesystem will not be recognized
210 * improved error handling (fewer BUG_ONs)
211 * convert: preparation for more filesystems to convert from
212 * documentation updates: quota, qgroup
216 * more build options, enhanced debugging
218 btrfs-progs-4.7 (2016-07-29)
219 * convert: fix creating discontig extents
220 * check: speed up traversing heavily reflinked extents within a file
221 * check: verify qgroups of higher levels
222 * check: repair can now fix wrong qgroup numbers
223 * balance: new option to run in the background
224 * defrag: default extent target size changed to 32MiB
225 * du: silently skip non-btrfs dirs/files
226 * documentation updates: btrfs(5), btrfs(8), balance, subvolume, scrub,
229 * unaligned access (reported for sparc64) in raid56 parity calculations
231 * other stability fixes and cleanups
234 btrfs-progs-4.6.1 (2016-06-24)
235 * filesystem resize: negative resize argument accepted again
236 * qgroup rescan: fix skipping when rescan is in progress
237 * mkfs: initialize stripesize to correct value
238 * testsuite updates, mostly convert tests
239 * documentation updates
240 * btrfs-device, btrfs-restore manual pages enhanced
243 btrfs-progs-4.6 (2016-06-10)
244 * convert - major rewrite:
245 * fix a long-standing bug that led to mixing data blocks into metadata block
247 * the workaround was to do full balance after conversion, which was
248 recommended practice anyway
249 * explicitly set the lowest supported version of e2fstools to 1.41
250 * provide and install udev rules file that addresses problems with device
251 mapper devices, renames after removal
252 * send: new option: quiet
253 * dev usage: report slack space (device size minus filesystem area on the dev)
255 * build: short options to enable debugging builds
259 * more tests and other enhancements
261 btrfs-progs-4.5.3 (2016-05-11)
262 * ioctl: fix unaligned access in buffer from TREE_SEARCH; might cause SIGBUS
263 on architectures that do not support unaligned access and do not performa
265 * improved validation checks of superblock and chunk-related structures
266 * subvolume sync: fix handling of -s option
267 * balance: adjust timing of safety delay countdown with --full-balance
268 * rescue super-recover: fix reversed condition check
269 * check: fix bytes_used accounting
270 * documentation updates: mount options, scrub, send, receive, select-super,
272 * testing: new fuzzed images, for superblock and chunks
274 btrfs-progs-4.5.2 (2016-05-02)
275 * new/moved command: btrfs-calc-stats -> btrfs inspect tree-stats
276 * check: fix false alert for metadata blocks crossing stripe boundary
277 * check: catch when qgroup numbers mismatch
278 * check: detect running quota rescan and report mismatches
279 * balance start: add safety delay before doing a full balance
280 * filesystem sync: is now silent
281 * filesystem show: don't miss filesystems with partially matching uuids
282 * dev ready: accept only one argument for device
283 * dev stats: print "devid:N" for a missing device instead of "(null)"
285 * lowest supported version of e2fsprogs is 1.41
286 * minor cleanups, test updates
288 btrfs-progs-4.5.1 (2016-03-31)
289 * mkfs: allow DUP on multi-device filesystems
290 * bugfixes: build fixes, assorted other fixes
292 btrfs-progs-4.5 (2016-03-20)
294 * btrfs-show-super -> btrfs inspect-internal dump-super
295 * btrfs-debug-tree -> btrfs inspect-internal dump-tree
298 * btrfs filesystem du - calculate disk usage, including shared extents
301 * device delete - delete by id (needs kernel support, not merged to
303 * check - new option to specify chunk root
304 * debug-tree/dump-tree - option -t understands human readable name of
305 the tree (along numerical ids)
306 * btrfs-debugfs - can dump block group information
309 * all commands should accept the option separator "--"
310 * several fixes in device scan
311 * restore works on filesystems with sectorsize > 4k
312 * debug-tree/dump-tree - print compression type as string
313 * subvol sync: fix crash, memory corruption
314 * argument parsing fixes: subvol get-default, qgroup create/destroy/
315 assign, inspect subvolid-resolve
316 * check for block device or regular file in several commands
319 * documentation updates
320 * manual pages for the moved tools now point to btrfs-filesystem
323 btrfs-progs-4.4.1 (2016-02-26)
324 * find-root: don't skip the first chunk
325 * free-space-tree compat bits fix
326 * build: target symlinks
327 * documentation updates
330 btrfs-progs-4.4 (2016-01-18)
331 User visible changes:
332 * mkfs.btrfs --data dup
334 People asked about duplicating data on a single device for a long time. There
335 are no technical obstacles preventing that, so it got enabled with a warning
336 about potential dangers when the device will not do the duplicated copies. See
337 mkfs.btrfs section DUP PROFILES ON A SINGLE DEVICE.
339 * support balance filters added/enhanced in linux 4.4
340 * usage=min..max -- enhanced to take range
341 * stripes=min..max -- new, filter by stripes for raid0/10/5/6
342 * limit=min..max -- enhanced to take range
343 Note: due to backward compatibility, the range maximum for 'usage' is not
344 inclusive as for the others, to keep the same behaviour as usage=N .
346 * manual pages enhanced (btrfs, mkfs, mount, filesystem, balance)
347 * error messages updates, rewordings -- some fstests may break due to that
348 * added support for free-space-tree implementation of space cache -- this
349 requires kernel 4.5 and is not recommended for non-developers yet
350 * btrfs filesystem usage works with mixed blockgroups
353 * installation to /usr/local -- this has unintentionally changed during
354 conversion to autotools in 3.19
355 * check: fix a false alert where extent record has wrong metadata flag
356 * improved stability on fuzzed/crafted images when reading sys array in
358 * build: the 'ar' tool is properly detected during cross-compilation
359 * debug-tree: option -t understands ids for tree root and chunk tree
360 * preparatory work for btrfs-convert rewrite
361 * sparse, gcc warning fixes
362 * more memory allocation failure handling
367 * chunk recovery: fix floating point exception
368 * chunk recovery: endianity bugfix during rebuild
369 * mkfs with 64K pages and nodesize reported superblock checksum mismatch
370 * check: properly reset nlink of multi-linked file
372 btrfs-progs-4.3.1 (2015-11-16)
374 * device delete: recognize 'missing' again
375 * mkfs: long names are not trimmed when doing ssd check
376 * support partitioned loop devices
378 * replace several mallocs with on-stack variables
379 * more memory allocation failure handling
380 * add tests for bugs fixed
381 * cmd-device: switch to new message printing helpers
382 * minor code cleanups
384 btrfs-progs-4.3 (2015-11-06)
386 * mixed mode is not forced for filesystems smaller than 1GiB
387 * mixed mode broken with mismatching sectorsize and nodesize, fixed
388 * print version info earlier
389 * print devices sorted by id
390 * do not truncate target image with --rootsize
392 * don't print global block reserve
394 * minor output tuning
397 * div-by-zero fix on an empty filesystem
400 * more superblock sanity checks
401 * consistently round size of all devices down to sectorsize
403 * convert: don't try to rollback with a half-deleted ext2_saved
406 * check: add progress indicator
407 * scrub: enhanced error message
408 * show-super: read superblock from a given offset
410 * docs: update manual page for mkfs.btrfs, btrfstune, balance,
411 convert and inspect-internal
412 * build: optional build with more warnings (W=...)
413 * build: better support for static checkers
414 * build: html output of documentation
415 * pretty-print: last_snapshot for root_item
416 * pretty-print: stripe dev uuid
417 * error reporting wrappers, introduced and example use
418 * refactor open_file_or_dir
419 * other docs and help updates
421 * test for nodes crossing stripes
422 * test for broken 'subvolume sync'
423 * basic tests for mkfs, raid option combinations
424 * basic tests for fuzzed images (check)
425 * command intrumentation (eg valgrind)
426 * print commands if requested
427 * add README for tests
429 btrfs-progs-4.2.3 (2015-10-19)
430 * subvol sync: make it actually work again: it's been broken since 4.1.2,
431 due to a reversed condition it returned immediately instead of waiting
432 * scanning: do not scan already discovered filesystems (minor optimization)
433 * convert: better error message in case the filesystem is not finalized
434 * restore: off-by-one symlink path check fix
436 btrfs-progs-4.2.2 (2015-10-05)
437 * filesystem label: use fallback if the label ioctl is not available
438 * convert: check nodesize constraints against commandline features (-O)
439 * scrub: report status 'running' until all devices are finished
440 * device scanning might crash in some scenarios
441 * filesystem usage: print summary for non-root users
443 btrfs-progs-4.2.1 (2015-09-20)
444 * fix an off-by-one error in cross-stripe boundary check
445 * if nodesize was 64k, any metadata block was reported as crossing,
446 this leads to mkfs failure for example due to "no free blocks
448 * for other nodesizes, if the end of the metadata block was 64k
449 aligned, it was incorrectly reported by fsck
450 * convert: don't write uninitialized data to image
452 * don't loop with option -t0
453 * don't create threads if compression is not requested
454 * other: minor cleanups
456 btrfs-progs-4.2 (2015-09-03)
458 * mkfs: do not create extra single chunks on multiple devices
459 * resize: try to guess the minimal size, 'inspect min-dev-size'
460 * qgroup assign: add option to schedule rescan
461 * chunk-recover: be more verbose about the scanning process
464 * find stripes crossing stripe boundary -- created by convert
465 * print correct range for file hole when there are no extents
466 and learn how to fix it
467 * replace: more sanity checks
468 * convert: concurrency fixes related to reporting progress
469 * find-root: option -a will not skip the current root anymore
470 * subvol list: fix occasional crash
471 * do not create stripes crossing stripe boundary
473 * fixes for musl libc
474 * preliminary support for android (not working yet, more code changes
476 * new EXTRA_CFLAGS and EXTRA_LDFLAGS
479 * tests: lots of updates, new tests, framework improvements
480 * documentation updates
481 * debugging: print-tree shows stripe length
483 btrfs-progs-4.1.2 (2015-07-14)
484 * urgent bugfix: mkfs creates invalid filesystem, must be recreated
486 btrfs-progs-4.1.1 (2015-07-10) -- Do not use this version!
488 * defrag: threshold overflow fix
490 * check if items fit into the leaf space
493 * create only desired block groups for single device
494 * preparatory work for fix on multiple devices
496 * new alias for 'device delete': 'device remove'
498 * fix compilation on old gcc (4.3)
499 * documentation updates
500 * debug-tree: print nbytes
501 * test: image for corrupted nbytes
502 * corrupt-block: let it kill nbytes
504 btrfs-progs-4.1 (2015-06-22)
506 * fsck.btrfs: no bash-isms
507 * bugzilla 97171: invalid memory access (with tests)
509 * cloning works with --chroot
510 * capabilities not lost
511 * mkfs: do not try to register bare file images
512 * option --help accepted by the standalone utilities
515 * corrupt block: ability to remove csums
517 * warn if metadata redundancy is lower than for data
518 * options to make the output quiet (only errors)
519 * mixed case names of raid profiles accepted
521 * more comprehensive, 'key: value' format
524 * print received uuid
526 * new options to specify size units
527 * sync: grab all deleted ids and print them as they're removed,
528 previous implementation only checked if there are any to be
529 deleted - change in command semantics
530 * scrub: print timestamps in days HMS format
532 * can specify mount point, do not rely on /proc
533 * can work inside subvolumes
534 * send: new option to send stream without data (NO_FILE_DATA)
535 * convert: specify incompat features on the new fs
537 * show: distinguish no limits and 0 limit value
538 * limit: ability to clear the limit
539 * help for 'btrfs' is shorter, 1st level command overview
540 * debug tree: print key names according to their C name
545 * rewrite uuid on a filesystem image
546 * new option to turn on NO_HOLES incompat feature
549 * standalone btrfs-zero-log
552 * testing framework updates
554 * btrfstune feature setting test
556 * more testing image formats
557 * manual page updates
558 * ioctl.h synced with current kernel uapi version
559 * convert: preparatory works for more filesystems (reiserfs pending)
560 * use static buffers for path handling where possible
561 * add new helpers for send uilts that check memory allocations,
562 switch all users, deprecate old helpers
563 * Makefile: fix build dependency generation
564 * map-logical: make it work again
566 btrfs-progs-4.0.1 (2015-05-20)
568 * can restore symlinks, new option --symlinks
569 * long option variants added
570 * convert: dropped dependency on acl.h header and libacl is not required
572 * fix for 'check' crash
573 * device remove error message fix
574 * preparatory works for fsid change
576 btrfs-progs-4.0 (2015-04-29)
578 * don't accept file as an argument (it's confusing)
579 * print better error message in case of an error
580 * restore: optionally restore metadata (time, mode, uid/gid)
581 * receive: optionally enforce chroot
582 * new rescue subcommand 'zero-log', same as btrfs-zero-log, but now also
583 part of the main utility
585 * free space checks match kernel, fixes incorrect reports
586 * convert: fix setting of checksum bit if --no-datasum is used
587 * fsck.btrfs: don't print messages
588 * fix quota rescan on PPC64 (mangled ioctl number)
590 * documentation: files renamed to .asciidoc, misc fixups
592 btrfs-progs-3.19.1 (2015-03-25)
594 * new option to specify metadata block size
595 * --no-progress actually works
596 * restore: properly handle the page boundary corner case
598 * missing macro from public header, BTRFS_BUILD_VERSION
599 * wrong handling of --enable-convert
600 * filesystem usage: reports correct space for degraded mounts
602 * mkfs: help string updates
603 * completion: added 'usage' subcommands
604 * cleanups in qgroup code, preparatory work
606 btrfs-progs-3.19 (2015-03-11)
607 * build converted to autotools
609 * restore can now run in parallel threads
610 * fixed restore of multiple image from multiple devices onto a single
612 * introduced metadump v2
613 * check: make --init-csum-tree and --init-extent-tree work together
614 * find-new: option to search through all metadata even if a root was
616 * convert: show progress by default, can be turned off
617 * corrupt-block: option to work on a specific root
618 * bash completion script for all subcommands
620 btrfs-progs-3.18.2 (2015-01-27)
621 * qgroup show: print human readable sizes, options to say otherwise
622 * check: new option to explicitly say no to writes
623 * mkfs: message about trimming is not printed to stderr
624 * filesystem show: fixed return value
625 * tests: new infrastructure
626 * btrfstune: force flag can be used together with seeding option
627 * backtrace support is back
629 * doc and help updates
631 btrfs-progs-3.18.1 (2015-01-09)
633 * documentation updates
635 btrfs-progs-3.18 (2014-12-30)
636 * mkfs - skinny-metadata feature is now on by default, first introduced in
638 * filesystem usage - give an overview of fs usage in a way that's more
639 comprehensible than existing 'filesystem df'
640 * device usage - more detailed information about per-device allocations
642 * option to set a different tree root byte number
643 * ability to link lost files to lost+found, caused by a recent kernel
645 * repair of severely corrupted fs (use with care)
646 * convert - option to show progress
647 * subvol create - print the commit mode inline, print the global mode only
649 * other updates: musl-libc support, coverity bugfixes, new test images,
652 btrfs-progs-3.17.3 (2014-12-04)
653 * convert: fix conversion of sparse ext* filesystems
654 * show: resolve to the correct path
655 * fsck: more verbose error for root dir problems
657 btrfs-progs-3.17.2 (2014-11-19)
659 * add ability to replace missing dir item/dir indexes
660 * fix missing inode items
661 * create missing root dirid
662 * corrupt block: enhancements for testing fsck
663 * zero-log: able to reset a fs with bogus log tree pointer (bug_72151)
665 btrfs-progs-3.17.1 (2014-11-04)
666 * filesystem df: argument handling
667 * fix linking with libbtrfs
668 * replace: better error reporting
669 * filesystem show: fixed stall if run concurrently with balance
670 * check: fixed argument parsing for --subvol-extents
671 * filesystem df: SI prefixes corrected
673 btrfs-progs-3.17 (2014-10-17)
674 * check: --init-csum-tree actually does something useful, rebuilds the
676 * /dev scanning for btrfs devices is gone
677 * /proc/partitions scanning is gone, blkid is used exclusively
678 * new subcommand subvolume sync
679 * filesystem df: new options to set unit format
680 * convert: allow to copy label from the origin, or specify a new one
682 btrfs-progs-3.16.2 (2014-10-01)
683 * a few fixes in fsck and image tools
685 btrfs-progs-3.16.1 (2014-09-15)
686 * print GlobalReserve in filesystem df output
687 * new option -R in subvol list
688 * library version defines
689 * static build is fixed
690 * build without documentation is possible
692 btrfs-progs-3.16 (2014-08-26)
693 * mkfs: new option to specify UUID, drop experimental notice
694 * check: new option to verify quotas, reduced memory requirements, new
695 option to print extent sharing
696 * restore: check length before decompression, more error handling, option
697 to loop during restoring
698 * balance: new filter 'limit'
699 * recover: allow to read all sb copies
700 * btrfstune: new option to force dangerous changes
701 * receive: new option to limit number of errors
702 * show-super: skip unrecognized sb, add option to force
703 * debug-tree: print tree by id
704 * documentation updates
706 btrfs-progs-3.14.2 (2014-05-29)
707 * documentation is now written in asciidoc and there are manpages for each
711 btrfs-progs-3.14.1 (2014-04-18)
712 * properties: fix handling of option -t
713 * restore: fix reading of compressed extents
714 * minor code and doc updates
716 btrfs-progs-3.14 (2014-04-06)
717 * fsck: fixes and enhancements to --init-extent-tree mode
718 * fsck: chunk-recover updates
719 * scrub: add force option -f
720 * send: check if subvolumes are read-only
721 * subvol delete: add options to affect commit behaviour
722 * btrfs: add property command group
723 * restore: add dry-run option
724 * restore: fix restoring of compressed files
725 * mkfs: support for no-holes feature
726 * mkfs: option -r deals with hardlinks and relative paths
727 * mkfs: discard phase is interruptible
728 * documentation updates
730 btrfs-progs-3.12 (2013-11-25)
731 * announcement, tarballs
732 * first release after 0.19 (2009/06) with a lot of changes