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