btrfs-progs: update CHANGES for 4.7.3
[platform/upstream/btrfs-progs.git] / CHANGES
1 btrfs-progs-4.7.3 (2016-09-21)
2   * fixed free space tree compat status
3   * check: low-mem mode: handle partially dropped snapshots
4   * dump-super: consolidate options for superblock copy
5   * tree-stats: check mount status
6   * subvol delete: handle verbosity option
7   * defrag: print correct error string
8   * mkfs: fix reading rotational status
9   * other:
10     * UBSAN build option
11     * documentation updates
12     * enhanced tests: convert, fuzzed images, more tools to run on fuzzed
13       images
14
15 btrfs-progs-4.7.2 (2016-09-05)
16   * check:
17     * urgent fix: false report of backref mismatches; do not --repair
18       last unaffected version 4.6.1 (code reverted to that state)
19   * fuzzing and fixes
20     * added more sanity checks for various structures
21     * testing images added
22   * build: udev compatibility: do not install .rules on version < 190
23   * other:
24     * dump-super: do not crash on garbage value in csum_type
25     * minor improvements in messages and help strings
26   * documentation:
27     * filesystem features
28
29 btrfs-progs-4.7.1 (2016-08-25)
30   * check:
31     * new optional mode: optimized for low memory usage (memory/io tradeoff)
32     * --mode=lowmem, not default, still considered experimental
33     * does not work with --repair yet
34   * convert: regression fix, ext2_subvol/image rw permissions
35   * mkfs/convert:
36     * two-staged creation, partially created filesystem will not be recognized
37     * improved error handling (fewer BUG_ONs)
38   * convert: preparation for more filesystems to convert from
39   * documentation updates: quota, qgroup
40   * other
41     * message updates
42     * more tests
43     * more build options, enhanced debugging
44
45 btrfs-progs-4.7 (2016-07-29)
46   * convert: fix creating discontig extents
47   * check: speed up traversing heavily reflinked extents within a file
48   * check: verify qgroups of higher levels
49   * check: repair can now fix wrong qgroup numbers
50   * balance: new option to run in the background
51   * defrag: default extent target size changed to 32MiB
52   * du: silently skip non-btrfs dirs/files
53   * documentation updates: btrfs(5), btrfs(8), balance, subvolume, scrub,
54     filesystem, convert
55   * bugfixes:
56     * unaligned access (reported for sparc64) in raid56 parity calculations
57     * use /bin/bash
58     * other stability fixes and cleanups
59   * more tests
60
61 btrfs-progs-4.6.1 (2016-06-24)
62   * fi resize: negative resize argument accepted again
63   * qgroup rescan: fix skipping when rescan is in progress
64   * mkfs: initialize stripesize to correct value
65   * testsuite updates, mostly convert tests
66   * documentation updates
67     * btrfs-device, btrfs-restore manual pages enhanced
68     * misc fixups
69
70 btrfs-progs-4.6 (2016-06-10)
71   * convert - major rewrite:
72     * fix a long-standing bug that led to mixing data blocks into metadata block
73       groups
74     * the workaround was to do full balance after conversion, which was
75       recommended practice anyway
76     * explicitly set the lowest supported version of e2fstools to 1.41
77   * provide and install udev rules file that addresses problems with device
78     mapper devices, renames after removal
79   * send: new option: quiet
80   * dev usage: report slack space (device size minus filesystem area on the dev)
81   * image: support DUP
82   * build: short options to enable debugging builds
83   * other:
84     * code cleanups
85     * build fixes
86     * more tests and other enhancements
87
88 btrfs-progs-4.5.3 (2016-05-11)
89   * ioctl: fix unaligned access in buffer from TREE_SEARCH; might cause SIGBUS
90     on architectures that do not support unaligned access and do not performa
91     any fixups
92   * improved validation checks of superblock and chunk-related structures
93   * subvolume sync: fix handling of -s option
94   * balance: adjust timing of safety delay countdown with --full-balance
95   * rescue super-recover: fix reversed condition check
96   * check: fix bytes_used accounting
97   * documentation updates: mount options, scrub, send, receive, select-super,
98     check, mkfs
99   * testing: new fuzzed images, for superblock and chunks
100
101 btrfs-progs-4.5.2 (2016-05-02)
102   * new/moved command: btrfs-calc-stats -> btrfs inspect tree-stats
103   * check: fix false alert for metadata blocks crossing stripe boundary
104   * check: catch when qgroup numbers mismatch
105   * check: detect running quota rescan and report mismatches
106   * balance start: add safety delay before doing a full balance
107   * fi sync: is now silent
108   * fi show: don't miss filesystems with partially matching uuids
109   * dev ready: accept only one argument for device
110   * dev stats: print "devid:N" for a missing device instead of "(null)"
111   * other:
112     * lowest supported version of e2fsprogs is 1.41
113     * minor cleanups, test updates
114
115 btrfs-progs-4.5.1 (2016-03-31)
116   * mkfs: allow DUP on multi-device filesystems
117   * bugfixes: build fixes, assorted other fixes
118
119 btrfs-progs-4.5 (2016-03-20)
120   New/moved commands:
121     * btrfs-show-super -> btrfs inspect-internal dump-super
122     * btrfs-debug-tree -> btrfs inspect-internal dump-tree
123
124   New commands:
125     * btrfs fi du - calculate disk usage, including shared extents
126
127   Enhancements:
128     * device delete - delete by id (needs kernel support, not merged to
129       4.6)
130     * check - new option to specify chunk root
131     * debug-tree/dump-tree - option -t understands human readable name of
132       the tree (along numerical ids)
133     * btrfs-debugfs - can dump block group information
134
135   Bugfixes:
136     * all commands should accept the option separator "--"
137     * several fixes in device scan
138     * restore works on filesystems with sectorsize > 4k
139     * debug-tree/dump-tree - print compression type as string
140     * subvol sync: fix crash, memory corruption
141     * argument parsing fixes: subvol get-default, qgroup create/destroy/
142       assign, inspect subvolid-resolve
143     * check for block device or regular file in several commands
144
145   Other:
146     * documentation updates
147     * manual pages for the moved tools now point to btrfs-filesystem
148     * testsuite updates
149
150 btrfs-progs-4.4.1 (2016-02-26)
151   * find-root: don't skip the first chunk
152   * free-space-tree compat bits fix
153   * build: target symlinks
154   * documentation updates
155   * test updates
156
157 btrfs-progs-4.4 (2016-01-18)
158   User visible changes:
159     * mkfs.btrfs --data dup
160
161   People asked about duplicating data on a single device for a long time. There
162   are no technical obstacles preventing that, so it got enabled with a warning
163   about potential dangers when the device will not do the duplicated copies. See
164   mkfs.btrfs section DUP PROFILES ON A SINGLE DEVICE.
165
166     * support balance filters added/enhanced in linux 4.4
167       * usage=min..max -- enhanced to take range
168       * stripes=min..max -- new, filter by stripes for raid0/10/5/6
169       * limit=min..max -- enhanced to take range
170   Note: due to backward compatibility, the range maximum for 'usage' is not
171   inclusive as for the others, to keep the same behaviour as usage=N .
172
173     * manual pages enhanced (btrfs, mkfs, mount, filesystem, balance)
174     * error messages updates, rewordings -- some fstests may break due to that
175     * added support for free-space-tree implementation of space cache -- this
176       requires kernel 4.5 and is not recommended for non-developers yet
177     * btrfs filesystem usage works with mixed blockgroups
178
179   Other:
180     * installation to /usr/local -- this has unintentionally changed during
181       conversion to autotools in 3.19
182     * check: fix a false alert where extent record has wrong metadata flag
183     * improved stability on fuzzed/crafted images when reading sys array in
184       superblock
185     * build: the 'ar' tool is properly detected during cross-compilation
186     * debug-tree: option -t understands ids for tree root and chunk tree
187     * preparatory work for btrfs-convert rewrite
188     * sparse, gcc warning fixes
189     * more memory allocation failure handling
190     * cleanups
191     * more tests
192
193   Bugfixes:
194     * chunk recovery: fix floating point exception
195     * chunk recovery: endianity bugfix during rebuild
196     * mkfs with 64K pages and nodesize reported superblock checksum mismatch
197     * check: properly reset nlink of multi-linked file
198
199 btrfs-progs-4.3.1 (2015-11-16)
200   * fixes
201     * device delete: recognize 'missing' again
202     * mkfs: long names are not trimmed when doing ssd check
203     * support partitioned loop devices
204   * other
205     * replace several mallocs with on-stack variables
206     * more memory allocation failure handling
207     * add tests for bugs fixed
208     * cmd-device: switch to new message printing helpers
209     * minor code cleanups
210
211 btrfs-progs-4.3 (2015-11-06)
212   * mkfs
213     * mixed mode is not forced for filesystems smaller than 1GiB
214     * mixed mode broken with mismatching sectorsize and nodesize, fixed
215     * print version info earlier
216     * print devices sorted by id
217     * do not truncate target image with --rootsize
218   * fi usage:
219     * don't print global block reserve
220     * print device id
221     * minor output tuning
222     * other cleanups
223   * calc-size:
224     * div-by-zero fix on an empty filesystem
225     * fix crash
226   * bugfixes:
227     * more superblock sanity checks
228     * consistently round size of all devices down to sectorsize
229     * misc leak fixes
230     * convert: don't try to rollback with a half-deleted ext2_saved
231       subvolume
232   * other:
233     * check: add progress indicator
234     * scrub: enhanced error message
235     * show-super: read superblock from a given offset
236     * add README
237     * docs: update manual page for mkfs.btrfs, btrfstune, balance,
238       convert and inspect-internal
239     * build: optional build with more warnings (W=...)
240     * build: better support for static checkers
241     * build: html output of documentation
242     * pretty-print: last_snapshot for root_item
243     * pretty-print: stripe dev uuid
244     * error reporting wrappers, introduced and example use
245     * refactor open_file_or_dir
246     * other docs and help updates
247   * testing:
248     * test for nodes crossing stripes
249     * test for broken 'subvolume sync'
250     * basic tests for mkfs, raid option combinations
251     * basic tests for fuzzed images (check)
252     * command intrumentation (eg valgrind)
253     * print commands if requested
254     * add README for tests
255
256 btrfs-progs-4.2.3 (2015-10-19)
257   * subvol sync: make it actually work again: it's been broken since 4.1.2,
258     due to a reversed condition it returned immediately instead of waiting
259   * scanning: do not scan already discovered filesystems (minor optimization)
260   * convert: better error message in case the filesystem is not finalized
261   * restore: off-by-one symlink path check fix
262
263 btrfs-progs-4.2.2 (2015-10-05)
264   * fi label: use fallback if the label ioctl is not available
265   * convert: check nodesize constraints against commandline features (-O)
266   * scrub: report status 'running' until all devices are finished
267   * device scanning might crash in some scenarios
268   * fi usage: print summary for non-root users
269
270 btrfs-progs-4.2.1 (2015-09-20)
271   * fix an off-by-one error in cross-stripe boundary check
272     * if nodesize was 64k, any metadata block was reported as crossing,
273       this leads to mkfs failure for example due to "no free blocks
274       found"
275     * for other nodesizes, if the end of the metadata block was 64k
276       aligned, it was incorrectly reported by fsck
277   * convert: don't write uninitialized data to image
278   * image:
279     * don't loop with option -t0
280     * don't create threads if compression is not requested
281   * other: minor cleanups
282
283 btrfs-progs-4.2 (2015-09-03)
284   * enhancements:
285     * mkfs: do not create extra single chunks on multiple devices
286     * resize: try to guess the minimal size, 'inspect min-dev-size'
287     * qgroup assign: add option to schedule rescan
288     * chunk-recover: be more verbose about the scanning process
289   * fixes:
290     * check:
291         * find stripes crossing stripe boundary -- created by convert
292         * print correct range for file hole when there are no extents
293           and learn how to fix it
294     * replace: more sanity checks
295     * convert: concurrency fixes related to reporting progress
296     * find-root: option -a will not skip the current root anymore
297     * subvol list: fix occasional crash
298     * do not create stripes crossing stripe boundary
299   * build:
300     * fixes for musl libc
301     * preliminary support for android (not working yet, more code changes
302       needed)
303     * new EXTRA_CFLAGS and EXTRA_LDFLAGS
304   * other:
305     * lots of cleanups
306     * tests: lots of updates, new tests, framework improvements
307     * documentation updates
308     * debugging: print-tree shows stripe length
309
310 btrfs-progs-4.1.2 (2015-07-14)
311   * urgent bugfix: mkfs creates invalid filesystem, must be recreated
312
313 btrfs-progs-4.1.1 (2015-07-10) -- Do not use this version!
314   Bugfixes:
315     * defrag: threshold overflow fix
316     * fsck:
317       * check if items fit into the leaf space
318       * fix wrong nbytes
319     * mkfs:
320       * create only desired block groups for single device
321       * preparatory work for fix on multiple devices
322   Enhancements:
323     * new alias for 'device delete': 'device remove'
324   Other:
325     * fix compilation on old gcc (4.3)
326     * documentation updates
327     * debug-tree: print nbytes
328     * test: image for corrupted nbytes
329     * corrupt-block: let it kill nbytes
330
331 btrfs-progs-4.1 (2015-06-22)
332   Bugfixes:
333     * fsck.btrfs: no bash-isms
334     * bugzilla 97171: invalid memory access (with tests)
335     * receive:
336       * cloning works with --chroot
337       * capabilities not lost
338     * mkfs: do not try to register bare file images
339     * option --help accepted by the standalone utilities
340     
341   Enhancements:
342     * corrupt block: ability to remove csums
343     * mkfs:
344       * warn if metadata redundancy is lower than for data
345       * options to make the output quiet (only errors)
346       * mixed case names of raid profiles accepted
347       * rework the output:
348       * more comprehensive, 'key: value' format
349     * subvol:
350       * show:
351         * print received uuid
352         * update the output
353         * new options to specify size units
354       * sync: grab all deleted ids and print them as they're removed,
355         previous implementation only checked if there are any to be
356         deleted - change in command semantics
357     * scrub: print timestamps in days HMS format
358     * receive:
359       * can specify mount point, do not rely on /proc
360       * can work inside subvolumes
361     * send: new option to send stream without data (NO_FILE_DATA)
362     * convert: specify incompat features on the new fs
363     * qgroup:
364       * show: distinguish no limits and 0 limit value
365       * limit: ability to clear the limit
366     * help for 'btrfs' is shorter, 1st level command overview
367     * debug tree: print key names according to their C name
368
369   New:
370     * rescue zero-log
371     * btrfsune:
372       * rewrite uuid on a filesystem image
373       * new option to turn on NO_HOLES incompat feature
374
375   Deprecated:
376     * standalone btrfs-zero-log
377
378   Other:
379     * testing framework updates
380       * uuid rewrite test
381       * btrfstune feature setting test
382       * zero-log tests
383       * more testing image formats
384     * manual page updates
385     * ioctl.h synced with current kernel uapi version
386     * convert: preparatory works for more filesystems (reiserfs pending)
387     * use static buffers for path handling where possible
388     * add new helpers for send uilts that check memory allocations,
389       switch all users, deprecate old helpers
390     * Makefile: fix build dependency generation
391     * map-logical: make it work again
392
393 btrfs-progs-4.0.1 (2015-05-20)
394   * restore:
395     * can restore symlinks, new option --symlinks
396     * long option variants added
397   * convert: dropped dependency on acl.h header and libacl is not required
398     for build
399   * fix for 'check' crash
400   * device remove error message fix
401   * preparatory works for fsid change
402
403 btrfs-progs-4.0 (2015-04-29)
404   * resize:
405     * don't accept file as an argument (it's confusing)
406     * print better error message in case of an error
407   * restore: optionally restore metadata (time, mode, uid/gid)
408   * receive: optionally enforce chroot
409   * new rescue subcommand 'zero-log', same as btrfs-zero-log, but now also
410     part of the main utility
411   * check:
412     * free space checks match kernel, fixes incorrect reports
413   * convert: fix setting of checksum bit if --no-datasum is used
414   * fsck.btrfs: don't print messages
415   * fix quota rescan on PPC64 (mangled ioctl number)
416   * test updates
417   * documentation: files renamed to .asciidoc, misc fixups
418
419 btrfs-progs-3.19.1 (2015-03-25)
420   * convert:
421     * new option to specify metadata block size
422     * --no-progress actually works
423   * restore: properly handle the page boundary corner case
424   * build fixes:
425     * missing macro from public header, BTRFS_BUILD_VERSION
426     * wrong handling of --enable-convert
427   * fi usage: reports correct space for degraded mounts
428   * other:
429     * mkfs: help string updates
430     * completion: added 'usage' subcommands
431     * cleanups in qgroup code, preparatory work
432
433 btrfs-progs-3.19 (2015-03-11)
434   * build converted to autotools
435   * btrfs-image
436     * restore can now run in parallel threads
437     * fixed restore of multiple image from multiple devices onto a single
438       dev
439     * introduced metadump v2
440   * check: make --init-csum-tree and --init-extent-tree work together
441   * find-new: option to search through all metadata even if a root was
442     already found
443   * convert: show progress by default, can be turned off
444   * corrupt-block: option to work on a specific root
445   * bash completion script for all subcommands
446
447 btrfs-progs-3.18.2 (2015-01-27)
448   * qgroup show: print human readable sizes, options to say otherwise
449   * check: new option to explicitly say no to writes
450   * mkfs: message about trimming is not printed to stderr
451   * fi show: fixed return value
452   * tests: new infrastructure
453   * btrfstune: force flag can be used together with seeding option
454   * backtrace support is back
455   * getopt cleanups
456   * doc and help updates
457
458 btrfs-progs-3.18.1 (2015-01-09)
459   * minor fixes
460   * documentation updates
461
462 btrfs-progs-3.18 (2014-12-30)
463   * mkfs - skinny-metadata feature is now on by default, first introduced in
464     kernel 3.10
465   * filesystem usage - give an overview of fs usage in a way that's more
466     comprehensible than existing 'fi df'
467   * device usage - more detailed information about per-device allocations
468   * check
469     * option to set a different tree root byte number
470     * ability to link lost files to lost+found, caused by a recent kernel
471       bug
472     * repair of severely corrupted fs (use with care)
473   * convert - option to show progress
474   * subvol create - print the commit mode inline, print the global mode only
475     if --verbose
476   * other updates: musl-libc support, coverity bugfixes, new test images,
477     documentation
478
479 btrfs-progs-3.17.3 (2014-12-04)
480   * convert: fix conversion of sparse ext* filesystems
481   * show: resolve to the correct path
482   * fsck: more verbose error for root dir problems
483
484 btrfs-progs-3.17.2 (2014-11-19)
485   * check improvements
486     * add ability to replace missing dir item/dir indexes
487     * fix missing inode items
488     * create missing root dirid
489   * corrupt block: enhancements for testing fsck
490   * zero-log: able to reset a fs with bogus log tree pointer (bug_72151)
491
492 btrfs-progs-3.17.1 (2014-11-04)
493   * fi df: argument handling
494   * fix linking with libbtrfs
495   * replace: better error reporting
496   * fi show: fixed stall if run concurrently with balance
497   * check: fixed argument parsing for --subvol-extents
498   * fi df: SI prefixes corrected
499
500 btrfs-progs-3.17 (2014-10-17)
501   * check: --init-csum-tree actually does something useful, rebuilds the
502     whole csum tree
503   * /dev scanning for btrfs devices is gone
504   * /proc/partitions scanning is gone, blkid is used exclusively
505   * new subcommand subvolume sync
506   * filesystem df: new options to set unit format
507   * convert: allow to copy label from the origin, or specify a new one
508
509 btrfs-progs-3.16.2 (2014-10-01)
510   * a few fixes in fsck and image tools
511
512 btrfs-progs-3.16.1 (2014-09-15)
513   * print GlobalReserve in fi df output
514   * new option -R in subvol list
515   * library version defines
516   * static build is fixed
517   * build without documentation is possible
518
519 btrfs-progs-3.16 (2014-08-26)
520   * mkfs: new option to specify UUID, drop experimental notice
521   * check: new option to verify quotas, reduced memory requirements, new
522     option to print extent sharing
523   * restore: check length before decompression, more error handling, option
524     to loop during restoring
525   * balance: new filter 'limit'
526   * recover: allow to read all sb copies
527   * btrfstune: new option to force dangerous changes
528   * receive: new option to limit number of errors
529   * show-super: skip unrecognized sb, add option to force
530   * debug-tree: print tree by id
531   * documentation updates
532
533 btrfs-progs-3.14.2 (2014-05-29)
534   * documentation is now written in asciidoc and there are manpages for each
535     subcommand
536   * misc bugfixes
537
538 btrfs-progs-3.14.1 (2014-04-18)
539   * properties: fix handling of option -t
540   * restore: fix reading of compressed extents
541   * minor code and doc updates
542
543 btrfs-progs-3.14 (2014-04-06)
544   * fsck: fixes and enhancements to --init-extent-tree mode
545   * fsck: chunk-recover updates
546   * scrub: add force option -f
547   * send: check if subvolumes are read-only
548   * subvol delete: add options to affect commit behaviour
549   * btrfs: add property command group
550   * restore: add dry-run option
551   * restore: fix restoring of compressed files
552   * mkfs: support for no-holes feature
553   * mkfs: option -r deals with hardlinks and relative paths
554   * mkfs: discard phase is interruptible
555   * documentation updates
556
557 btrfs-progs-3.12 (2013-11-25)
558   * announcement, tarballs
559   * first release after 0.19 (2009/06) with a lot of changes