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