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