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