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