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