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