-
Notifications
You must be signed in to change notification settings - Fork 245
/
CHANGES
2105 lines (1949 loc) · 81.2 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
btrfs-progs-6.10 (2024-07-30)
-----------------------------
* inspect:
* list-chunks: new command to print information about chunks (i.e.
the physical chunks as stored on devices), sortable; requires root as
it's using SEARCH_TREE ioctl
* tree-stats:
* new option -t to print only the given tree
* add long options for size units
* filesystem df: with increased verbosity print per-type information from sysfs
* version: print a line with built-in features or options (+FEATURE1 -FEATURE2)
* image: document option -s and its potential problems
* fixes:
* scrub status: user selected base for Rate values
* receive: escape special characters in paths and xattrs
* dump-tree: escape special characters in paths and xattrs
* image: sanitizing filenames did not work properly in all cases
* convert: fix displayed restored image path on rollback
* tune change csum: do conversion in smaller batches
* other:
* CI workflows updates (sanitizers, code spelling, manual page preview)
* build fixes for uClibc
* build fix for python 3.13
* documentation updates
btrfs-progs-6.9 (2024-06-07)
----------------------------
* mkfs:
* if --force used, don't continue if the mount status cannot be
determined (e.g. due to permissions)
* fix minimum size calculation on zoned devices, make it work with option -b
* check:
* option --clear-ino-cache removed (functionality still provided in
'rescue' command group)
* detect and repair wrong file extent item ram_bytes value
* qgroup clear-stale:
* sync the filesystem before search to read the up to date state
* handle cases where qgroup cannot be deleted due to uncleaned subvolume
or when squota is enabled
* qgroup show: display status of qgroup regarding the cleaning of the
subvolume or if it's squota
* receive: fix stream parsing on strict alignment hosts (e.g. ARM v5 or v6)
* tune change-csum: fix check of dev-replace status item, continue if no
dev-replace in progress
* dump-tree: print contents of dev-replace status item
* convert: fix extent iteration to handle prealloc/unwritten extents
* libbtrfsutil:
* patchlevel version update 1.3.1
* fix potentially unaligned access to send stream
* create library links to all version levels
* libbtrfs:
* patchlevel version update 0.1.3
* fix potentially unaligned access to send stream
* create library links to all version levels
* build:
* fix compatibility with e2fsprogs 1.47.1
* fix header file dependency tracking
* -O2 by default
* other:
* new and updated tests
* ASAN and UBSAN test coverage in CI
* documentation updates
btrfs-progs-6.9.1 (2024-06-24)
""""""""""""""""""""""""""""""
* fix detection of intermediate super block flags (e.g. csum change and
other conversions)
* raid-stripe-tree support (still experimental):
* moved under experimental build flags (mkfs, convert)
* format change, removed encoding type; backward incompatible
* receive dump: escape special chars in xattr names and values, and clone
source path
* tune change csum: fix reservation size when starting a transaction
* other:
* new and updated tests
* updated CI images, new reference build targets
* cleanups and refactoring
btrfs-progs-6.9.2 (2024-06-27)
""""""""""""""""""""""""""""""
* subvol list: fix accidental trimming of subvolume name
* check: revert checking file extent item 'ram_bytes'
* libbtrfsutil:
* patchlevel version update 1.3.2
* fix accidentally closing fd passed to subvolume iterator
btrfs-progs-6.8 (2024-03-26)
----------------------------
* fix --enqueue option timeout handling
* subvolume: remove support for undocumented options -c and -x,
functionality disabled in kernel
* libbtrfsutil:
* version 0.1.3, backward compatible
* add aliases for all existing functions with unified naming scheme
* updated header definitions for recently added kernel features
* send: v3 supported in experimental mode
* other:
* docs: manual page references, graphs, enhancements, clarifications
* error handling fixes
* cleanups and refactoring
btrfs-progs-6.8.1 (2024-05-02)
""""""""""""""""""""""""""""""
* mkfs: fix writing on zoned device when block-group-tree is selected
* tune: fix writing on zoned device with option --convert-to-block-group-tree
* check:
* more progress and error messages
* unify handling of unknown command line options with other commands
* subvolume delete: remove options --delete-qgroup and --no-delete-qgroup
(added in 6.6.3), qgroup deletion does not always work due to delayed
background processing of subvolume or set value in
sysfs:ggroup/drop_subtree_threshold
* other:
* misc refactoring
* error handling fixes reported by gcc -fanalyzer
* documentation updates
* new and updated tests
btrfs-progs-6.7 (2024-01-22)
----------------------------
* mkfs: make 4k sectorsize default, recommended minimum kernel for that is
6.1 and requires subpage support on architectures with page size > 4k
* subvolume create: return correct error code when a target already exists
* tree-checker: dump tree block on error (btrfs-convert, ...)
* scrub limit: fix reporting of a limit set while there's none
* fi usage: fix reporting of unallocated data or raid56 profile without root
privs due to lack of that information
* convert:
* align data block group lengths to 64K
* fix conversion of a large filesystem when there are partial inode items
present due to caching
* other:
* build fixes
* updated documentation
* new and updated tests
btrfs-progs-6.7.1 (2024-02-14)
""""""""""""""""""""""""""""""
* convert: raid-stripe-tree can be now enabled for the target filesystem
* mkfs:
* handle lifetime of open file descriptors so it does not trigger udev
that could miss to create the UUID symlinks in /dev
* update warning when CPU page size does not match sector size
* merge features in summary, no more distinction of incompat and runtime
to match the semantics of option -O
* fi show: fix recognizing raw device mapper paths
* other:
* CI updates, build images updates
* minor cleanups
* minor sync with kernel
* documentation updates, fix links to labels in included directories
btrfs-progs-6.6 (2023-11-03)
----------------------------
* new global option --dry-run, now implemented for 'subvolume delete'
* fi defrag: new option --step to defragment files in steps, report progress
* balance: removed support for obsolete short syntax 'btrfs balance /path'
* mkfs: print zone count for each device in the overview
* check:
* verify inline ref ordering
* deprecate --clear-space-cache, moved to the 'rescue' group
* rescue clear-space-cache: new command moved from 'btrfs check' implementing
the same as option --clear-space-cache (to be deprecated and removed in the
future)
* dump-tree: output sequence number for inline refs
* fixes:
* fi resize: fallback to lowest devid when 1 does not exist, previously the
command would fail with "No such device"
* fi usage: fix "devices 0 != 1" message and broken output on multi-device
filesystem
* open files in non-blocking mode when reading fsid, this could hang when
trying to open fifo files or some special character devices, was observed
with 'prop set/get'
* experimental:
* mkfs: parametric zone size for emulated zoned mode
* other:
* cleanups refactoring
* new and updated tests
* CI updates
* documentation updates
btrfs-progs-6.6.1 (2023-11-05)
""""""""""""""""""""""""""""""
* fix device scanning ioctl definition, accidental change to the 'forget' ioctl
that breaks mounting multi-device filesystems
btrfs-progs-6.6.2 (2023-11-15)
""""""""""""""""""""""""""""""
* squota: change key number of EXTENT_OWNER_REF_KEY, sync with kernel 6.7-rc1
* property set/get: completely skip char devices, trying to set properties
and open /dev/watchdog* causes a reboot
* other: build warnings, test updates, documentation updates
btrfs-progs-6.6.3 (2023-12-14)
""""""""""""""""""""""""""""""
* subvol create: accept multiple arguments
* subvol delete: print the subvolume id in the output
* subvol sync: check if the filesystems is still writeable so it does not
wait indefinitely
* device delete: add a timeout and warning when deleting multiple devices
* scrub status: report limit if set in sysfs/../scrub_speed_max
* scrub limit: new command to show or set the per-device scrub limits
* scrub start: report the limit if set
* build:
* fix CPU feature detection on aarch64
* support Botan and OpenSSL (3.2+) as crypto backends
* other:
* documentation updates, RTD config update
* new and updated tests
* CI updates
btrfs-progs-6.5 (2023-09-01)
----------------------------
* crc32c implementation speedup (3x)
* btrfstune:
* be more strict about option combinations and refuse changing
features from incompatible groups
* metadata_uuid changes fixes
* libbtrfs: fix ABI breakage introduced in 6.3.1, revert struct subvol_info
and subvol_uuid_search changes
* CI updates
* pull request build tests enabled
* published static binaries built with backward compatibility (-march=x86-64)
* other
* documentation updates
* new and updated tests
* experimental feature updates (json, list-chunks, checksum switch)
* code refactoring
* remove btrfs-fragments
btrfs-progs-6.5.1 (2023-09-13)
""""""""""""""""""""""""""""""
* build fixes:
* crc32c if PIE or relro is enabled
* detect if PCLMUL feature is recognized by compiler and also detect that
at runtime
* check: verify metadata item level when skinny-metadata is enabled
* other: minor build and docs updates
btrfs-progs-6.5.2 (2023-10-03)
""""""""""""""""""""""""""""""
* new feature support:
* raid-stripe-tree, new tree to track extent mapping for raid profiles,
allows raid1*, raid0 and raid10 on zoned devices (kernel 6.7)
* simple quotas, simplified accounting that does not track exclusive and
shared extents (kernel 6.7)
* mkfs with duplicate UUID on a single device, temp-fsid (kernel 6.7)
* metadata_uuid: enhanced capabilities to repair partially updated fsid on
multiple devices
* other:
* updated tests and CI
* sync sources with kernel
btrfs-progs-6.5.3 (2023-10-21)
""""""""""""""""""""""""""""""
* mkfs:
* add short aliases for -O specification, block-group-tree (bgt),
free-space-tree (fst), raid-stripe-tree (rst)
* don't try to resize the image (namely when backed by file) when --rootdir
contains sparse file larger than the image
* also copy xattr/permissions/ugid/timestamps of the top --rootdir directory
* add new option --device-uuid to let user specify exact uuid of the
device item (only for single device filesystems)
* check:
* on zoned devices, use correct super block offsets when repairing
* check inline extent refs order
* subvolume create: add new option --parent to create missing path
components of the given path (like mkdir -p)
* rescue clear-ino-cache: new command moved from 'btrfs check' implementing
the same as option --clear-ino-cache (to be deprecated and removed in the
future)
* dump-tree: allow '-' in tree identifier names for option -t
* btrfstune:
* drop short option and add long option to enable squota
* tune space reservation and batch size for block-group-tree conversion
* scrub status: print correct value of "Bytes scrubbed" for unfinished runs
* qgroup show: fix crash when attempting to print path of stale qgroups
* experimental features:
* move build of raid-stripe-tree out for testing but it's still considered
experimental
* other:
* shell completion updates
* sync raid-stripe-tree code with kernel
* build fixes
* new and updated tests
btrfs-progs-6.4 (skipped)
-------------------------
btrfs-progs-6.3 (2023-04-27)
----------------------------
* mkfs: option -R deprecated, options unified in -O (-R still works)
* mkfs: fix potential race with udev leading to EBUSY due to repeatedly
opened file descriptors
* block-group-tree is out of experimental mode
* available as 'mkfs.btrfs -O block-group-tree'
* btrfstune can do in-place conversion to/from (use with care)
* balance: fix recognizing old and new syntax
* subvol snapshot: specific error if a failure is caused by an active swapfile
* tree-stats: rephrase warning when run on a mounted filesystem
* completion: 'filesystem du' also completes files
* check: fix docs, help text and warning that --force + --repair works on a
mounted filesystem
* build: fix static build when static libudev is available
* documentation:
* more updates from wiki, developer docs, changelogs
* reformatting
* updates and fixes
* other:
* test updates and fixes
* CI cleanups and old files removed
* integration with Github actions
btrfs-progs-6.3.1 (2023-05-29)
""""""""""""""""""""""""""""""
* convert: fix checksum of a block relocated from 0-1M range
* qgroup show: fix formatting of limit values in json output
* receive: report parent subvol UUID on errors
* btrfstune: new option --convert-to-free-space-tree to convert from
block-group-tree back to extent tree for block group tracking
* mkfs: make option --rootdir more verbose and report start when filling
from the given directory starts
* experimental:
* btrfstune: checksum switch logic reimplemented, conversion of all
metadata and data now works, resume from various states also supported
* other:
* more CI github actions test coverage
* more kernel/userspace source code sync
* warning fixes
* code cleanups
* documentation updates
btrfs-progs-6.3.2 (2023-06-15)
""""""""""""""""""""""""""""""
* fix mkfs and others on big endian hosts
* mkfs: don't print changed defaults notice with --quiet
* scrub: fix wrong stats of processed bytes in background and foreground mode
* convert: actually create free-space-tree instead of v1 space cache
* print-tree: recognize and print CHANGING_FSID_V2 flag (for the
metadata_uuid change in progress)
* other: documentation updates
btrfs-progs-6.3.3 (2023-07-27)
""""""""""""""""""""""""""""""
* add btrfs-find-root to btrfs.box
* replace: properly enqueue if there's another replace running
* other:
* CI updates, more tests enabled, code coverage, badges
* documentation updates
* build warning fixes
btrfs-progs-6.2 (2023-02-28)
----------------------------
* receive: fix a corruption when decompressing zstd extents
* subvol sync: print total number and deletion progress
* accelerated hash algorithm implementations in fallback mode on x86_64
* fi mkswapfile: new option --uuid
* new global option --log=level to set the verbosity level directly
* other:
* experimental: update checksum conversion (not usable yet)
* build actually requires -std=gnu11
* refactor help option formatting, auto wrap long lines
btrfs-progs-6.2.1 (2023-02-03)
""""""""""""""""""""""""""""""
* fix build with crypto libraries
* CI images updated, build tests extended
btrfs-progs-6.2.2 (2023-03-25)
""""""""""""""""""""""""""""""
* fix build on old x86 architectures with builtin crypto
* device stats: fix printing wrong values in tabular output
* qgroup show: fix qgroup id formatting in json output
* restore: fix restoring xattrs on directories
* restore: don't modify metadata in dry-run mode
* balance: fix some cases wrongly parsed as old syntax
* balance: warn when deprecated syntax is used
* seeding: fall back to old way if sysfs device fsid is not available
* convert: handle orphan file ext4 feature
* other:
* sync ioctl definitions
* enable github CI
* update documentation
btrfs-progs-6.1 (2022-12-22)
----------------------------
* NOTE: this version breaks build of applications using ctree.h and qgroup items
* filesystem df: add json output
* qgroup show: add json output
* new command: 'inspect-internal map-swapfile' to check swapfile and its
swapfile_offset value used for hibernation
* corrupt-block: fix parsing of option --root argument
* experimental (interfaces not finalized):
* new command 'inspect-internal list-chunks'
* new group reflink, command clone
* other:
* synchronize some files with kernel versions
* docs updates
* build: use gnu11
btrfs-progs-6.1.1 (2023-01-03)
""""""""""""""""""""""""""""""
* subvol list: fix printing of UUID
* revert changes to ctree.h regarding qgroup items, breaks build of several
applications
* hide __init definition in kerncompat.h, may break build
btrfs-progs-6.1.2 (2023-01-05)
""""""""""""""""""""""""""""""
* revert libbtrfs changes to v6.0.2, fix remaining build problems
btrfs-progs-6.1.3 (2023-01-25)
""""""""""""""""""""""""""""""
* fi mkswapfile: fix setting size
* mkfs: check zoned support of libblkid
* check: improve error messages for mismatched references
* other:
* pass CFLAGS to static build
* documentation updates
btrfs-progs-6.0 (2022-10-11)
----------------------------
* fi usage: in tabular output, print total size and slack size
* mkfs:
* option -O now accepts values from -R to unify the interface (-R will
continue to work)
* zone reset and discard is done in parallel on all devices
* removed option --leafsize, deprecated long time ago
* corrupt-block: recalculate checksum when changing generation
* fixes:
* convert: fix reserved range detection and overlaps
* mkfs: fix creating files with reserved inode numbers with --rootdir
* receive: escape filenames in command attributes
* fix extent buffer leaks after transaction abort
* experimental:
* mkfs: support for block-group-tree (kernel 6.1)
* fsverity in send (protocol v3, WIP)
* btrfstune -b converts to block-group-tree
* other:
* cleanups, refactoring
* new and updated tests
* update documentation
btrfs-progs-6.0.1 (2022-11-04)
""""""""""""""""""""""""""""""
* send: minor speed up for v2 due to increased buffer size
* resize: invalid command line options fail with error code
* quota rescan:
* add long options --status and --wait
* new option to wait but don't start rescan
* qgroup show: print path by default, updated format
* qgroup: new subcommand clear-stale, remove qgroups without their subvolumes
* experimental:
* add warnings to commands that have it enabled (mkfs, image, btrfstune)
* other:
* documentation, help text, error message updates
btrfs-progs-6.0.2 (2022-11-24)
""""""""""""""""""""""""""""""
* fixes:
* resize cancel did not work in some cases
* fix fileattr stream command format and add workaround when it cannot be applied
* properly handle degraded raid56 reads
* fi defrag: fix verbosity, don't print file names by default
* receive: fix silent data loss after fall back from encoded write
* fi mkswapfile: new command to create a formatted swapfile in one go
btrfs-progs-5.19 (2022-08-16)
-----------------------------
* send: support protocol version 2
* fi show: print all missing devices
* device stats: add tabular output
* replace: add alias to device group (device replace)
* check: validate free space tree items
* fixes:
* convert: support large filesystems (block count > 32bit)
* recognize filesystems with verity enabled
* mkfs and DUP could write out of order, fix it for zoned mode
* build:
* optional support for LZO and ZSTD in receive
* compatibility with glibc 2.36 (mount.h)
* add fallbacks for new GCC builtins
* other:
* corrupt-block: target specific items, offsets
* documentation updates, new pages from wiki
* new tests
btrfs-progs-5.19.1 (2022-09-12)
"""""""""""""""""""""""""""""""
* fix memory leaks (extent buffer, path)
* check: verify block device size vs item
* rescue fix-device-size: allow to shrink device item
* receive: fix crash on wrong pointer free()
* other:
* experimental: support for block-group-tree
* documentation updates
* new tests
btrfs-progs-5.18 (2022-05-25)
-----------------------------
* fixes:
* dump-tree: don't print trailing zeros in checksums
* recognize paused balance as exclusive operation state, allow to start
device add
* convert: properly initialize target filesystem label
* mkfs: don't create free space bitmaps for empty filesystem
* restore: make lzo support build-time configurable, print supported
compression in help text
* update kernel-lib sources
* other:
* documentation updates, finish conversion to RST, CHANGES and INSTALL
could be included into RST
* fix build detection of experimental mode
* new tests
btrfs-progs-5.18.1 (2022-06-06)
"""""""""""""""""""""""""""""""
* fixes:
* convert: fix self reference of toplevel directory
* build: make kernel lib headers compatible with C++
* zoned mode: verify minimum zone size 4MiB
* libbtrfs: cleanups, merge headers and remove declarations of unexported
symbols
* other: documentation updates
btrfs-progs-5.17 (2022-04-26)
-----------------------------
* check:
* repair wrong num_devices in superblock
* recognize overly long xattr names
* fix wrong total bytes check for seed device
* auto-repair on read on RAID56
* property set: unify handling of empty value to mean default, changed meaning
for property 'compression' to allow reset to default and to set NOCOMPRESS,
since kernel 5.14
* fixes:
* dump-tree: print fs-verity items
* fix location of system chunk on zoned filesystem
* do not allow setting seeding flag on a filesystem with dirty log
* mkfs and subpage support: use sectorsize as nodesize fallback for mixed
profiles
* preparatory work for extent tree v2, global roots
* experimental feature (unstable interface, not built by default,
do not use for production)
* btrfstune: option --csum to switch checksum algorithm
* other:
* cleanups, refactoring
* update documentation build, remove asciidoc leftovers
* update fssum to consider xattrs
* add fsstress
btrfs-progs-5.16 (2022-01-12)
-----------------------------
* rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid
subvolume keys, caught by tree-checker
* fi du: skip inaccessible files
* prop: properly resolve to symlink targets
* send, receive: fix crash after parent subvolume lookup errors
* build:
* fix build on 5.12+ kernels due to changes in linux/kernel.h
* fix build on musl with old kernel headers
* other:
* error handling fixes, cleanups, refactoring
* extent tree v2 preparatory work
* lots of RST documentation updates (last release with asciidoc sources),
https://btrfs.readthedocs.io
btrfs-progs-5.16.1 (2022-02-04)
"""""""""""""""""""""""""""""""
* mkfs: support DUP on metadata on zoned devices
* subvol delete: drop warning for root when search ioctl fails
* check:
* fix --init-csum-tree to not create checksums for extents that are not
supposed to have them
* add check for metadata item levels
* add udev rule for zoned devices as they require mq-deadline
* build: fix redefinition of ALIGN on mixed old/new kernel/userspace (5.11)
* other:
* typo fixes
* new tests
* CI targets updated
btrfs-progs-5.16.2 (2022-02-16)
"""""""""""""""""""""""""""""""
* mkfs: fix detection of profile type for zoned mode when creating DUP
* build:
* add missing stub for zoned mode helper when zoned mode not enabled
* fix 64bit types on MIPS and PowerPC
* improved zoned mode support autodetection, for systems with existing
blkzone.h header but missing support for zone capacity
* other:
* doc updates
* test updates
btrfs-progs-5.15 (2021-11-05)
-----------------------------
* mkfs: new defaults!
* no-holes
* free-space-tree
* DUP for metadata unconditionally
* libbtrfsutil
* add missing profile defines
* libbtrfs
* minimize its impact on the other code, refactor and separate implementation
where needed, cleanup afterwards, reduced header exports
* documentation
* introduce sphinx build and RST versions of manual pages, will become the
new format and replace asciidoc
* fixes:
* fix warning regarding v1 space cache when only v2 (free space tree) is
enabled
* other
* lots of cleanups and refactoring
* zoned mode uses direct io for file backed images
* new and updated tests
btrfs-progs-5.15.1 (2021-11-22)
"""""""""""""""""""""""""""""""
* fixes:
* fi usage: fix wrongly reported space of used or unallocated space
* fix detection of block device discard capability
* check: add more sanity checks for checksum items
* build: make sphinx optional backend for documentation
btrfs-progs-5.14 (2021-09-10)
-----------------------------
* convert:
* new option --uuid to copy, generate or set a given uuid
* improve output
* mkfs:
* allow to create degenerate raid0 (on 1 device) and raid10 (on 2 devices)
* image:
* improved error messages
* fix some alignment of restored image
* subvol delete: allow to delete by id when path is not resolvable
* check:
* require alignment of nodesize for 64k page systems
* detect and fix invalid block groups
* libbtrfs (deprecated):
* remove most exported symbols, leave only a few that are used by snapper
* no version change (still 0.1)
* remove btrfs-list.h, btrfsck.h
* fixes:
* reset generation of space v1 if v2 is used
* fi us: don't wrongly report missing device size when partition is not readable
* other:
* build: experimental features
* build: better detection of 64bit timestamp support for ext4
* corrupt-block: block group items
* new and updated tests
* refactoring
* experimental features:
* new image dump format, with data
btrfs-progs-5.14.1 (2021-09-20)
"""""""""""""""""""""""""""""""
* fixes:
* defrag: fix parsing of compression (option -c)
* add workaround for old kernels when reading zone sizes
* let only check and restore open the fs with transid failures, namely
preventing btrfstune to do so
* convert: --uuid copy does not fail on duplicate uuids
btrfs-progs-5.14.2 (2021-10-08)
"""""""""""""""""""""""""""""""
* fixes
* zoned mode
* properly detect non-zoned devices in emulation mode
* properly create quota tree
* raid1c3/4 also excluded from unsupported profiles
* use sysfs-based detection of device discard capability, fix mkfs-time trim
for non-standard devices
* mkfs: fix creation of populated filesystem with free space tree
* detect multipath devices (needs libudev)
* replace start: add option -K/--nodiscard, similar to what mkfs or device add has
* dump-tree: print complete root_item
* mkfs: add option --verbose
* sb-mod: better help, no checksum calculation on read-only actions
* subvol show:
* print more information (regarding send and receive)
* print warning if read-write subvolume has received_uuid set
* property set:
* add parameter -f to force changes
* changing ro->rw switch now needs -f if subvolume has received_uuid set,
(see documentation)
* build
* optional libudev (on by default)
* other
* remove deprecated support for CREATE_ASYNC bit for subvolume ioctl
* CI updates
* new and updated tests
btrfs-progs-5.13 (2021-07-13)
-----------------------------
* restore: remove loop checks for extent count and directory scan
* inspect dump-tree: new options to print node (--csum-headers) and data
checksums (--csum-items)
* fi usage:
* print stripe count for striped profiles
* print zoned information: size, total unusable
* mkfs: print note about sha256 accelerated module loading issue
* check: ability to reset dev_item::bytes_used
* fixes
* detect zoned kernel support at run time too
* exclusive op running check return value
* fi resize: support cancel (kernel 5.14)
* device remove: support cancel (kernel 5.14)
* documentation about general topics
* compression
* zoned mode
* storage model
* hardware considerations
* other
* libbtrfsutil API overview
* help text fixes and updates
* hash speedtest measure time, cycles using perf and print throughput
btrfs-progs-5.13.1 (2021-07-30)
"""""""""""""""""""""""""""""""
* build: fix build on musl libc due to missing definition of NAME_MAX
* check:
* batch more work into one transaction when clearing v1 free space inodes
* detect directories with wrong number of links
* libbtrfsutil: fix race between subvolume iterator and deletion
* mkfs: be more specific about supported profiles for zoned device
* other:
* documentation updates
btrfs-progs-5.12 (2021-05-10)
-----------------------------
* libbtrfsutil: relicensed to LGPL v2.1+
* mkfs: zoned mode support (kernel 5.12+)
* fi df: show zone_unusable per profile type in zoned mode
* fi usage: show total amount of zone_unusable
* fi resize: fix message for exact size
* image: fix warning and enlarge output file if necessary
* core
* refactor chunk allocator for more modes
* implement zoned mode support: allocation and writes, sb log
* crypto/hash refactoring and cleanups
* refactoring and cleanups
* other
* test updates
* CI updates
* travis-ci integration disabled
* docker images updated, more coverage
* incomplete build support for Android removed
* doc updates
* chattr mode m for 'NOCOMPRESS"
* swapfile used from fstab
* how to add a new export to libbtrfsutil
* update status of mount options since 5.9
btrfs-progs-5.12.1 (2021-05-13)
"""""""""""""""""""""""""""""""
* build: fix missing symbols in libbtrfs
* mkfs: check for minimal number of zones
* check: fix warning about cache generation when free space tree is enabled
* fix superblock write in zoned mode on 16K pages
btrfs-progs-5.11 (2021-03-05)
-----------------------------
* fix device path canonicalization for device mapper devices
* receive: remove workaround for setting capabilities, all stable kernels
have been patched
* receive: fix duplicate mount path detection
* rescue: new subcommand create-control-device
* device stats: minor fix for plain text format output
* build: detect if e2fsprogs support 64bit timestamps
* build: drop libmount, required functionality has been reimplemented
* mkfs: warn when raid56 is used
* balance convert: warn when raid56 is used
* other
* new and updated tests
* documentation updates
* seeding device
* raid56 status
* CI updates
* docker images for various distros
btrfs-progs-5.11.1 (2021-03-24)
"""""""""""""""""""""""""""""""
* properly format checksums when a mismatch is reported
* check: fix false alert on tree block crossing 64K page boundary
* convert:
* refuse to convert filesystem with 'needs_recovery'
* update documentation to require fsck before conversion
* balance convert: fix raid56 warning when converting other profiles
* fi resize: improved summary
* other
* build: fix checks and autoconf defines
* fix symlink paths for CI support scripts
* updated tests
btrfs-progs-5.10 (2021-01-18)
-----------------------------
* scrub status:
* print percentage of progress
* add size unit options
* fi usage: also print free space from statfs
* convert: copy full 64 bit timestamp from ext4 if available
* check:
* add ability to repair extent item generation
* new option to remove leftovers from inode number cache (-o inode_cache)
* check for already running exclusive operation (balance, device add/...)
when starting one
* preliminary json output support for 'device stats'
* fixes:
* subvolume set-default: id 0 correctly falls back to toplevel
* receive: align internal buffer to allow fast CRC calculation
* logical-resolve: distinguish -o subvol and bind mounts
* build: new dependency libmount
* other
* doc fixes and updates
* new tests
* ci on gitlab temporarily disabled
* debugging output enhancements
btrfs-progs-5.10.1 (2021-02-05)
"""""""""""""""""""""""""""""""
* static build works again
* other:
* add a way to test static binaries with the testsuite
* clarify scrub docs
* update dependencies, minimum version for libmount is 2.24, this may
change in the future
btrfs-progs-5.9 (2020-10-23)
----------------------------
* mkfs:
* switch default to single profile for multi-device filesystem, up to
now it was raid0 that may not be simple to convert to some other profile
as raid0 needs a workspace on all device for that
* new option -R for run-time options (eg. mount time enabled), now
understands free-space-tree
* subvolume delete:
* refuse to delete the default subvolume (kernel will not allow that but
the error reason is not obvious)
* warn on EPERM, eg. if send is on progress on the subvolume
* convert:
* fix 32bit overflows on large filesystems
* improved error handling and error messages
* check free space taking fragmentation into account
* check:
* detect and repair wrong inode generation
* minor improvement in error reporting on roots
* libbtrfsutils: follow main package versioning (5.9)
* add pkg-config file definitions
* python-btrfsutil: follow main package versioning (5.9)
* inspect tree-stats: print node counts for each level, fanout
* other:
* docs:
* remove obsolete mount options (alloc_start, subvolrootid)
* deleting default subvolume is not permitted
* updated or fixed tests
* .editorconfig updates
* move files to kernel-shared/
* CI:
* updated to use zstd 1.4.5
* fix reiserfs build
* more builds with asan, ubsan
* sb-mod updates
* build:
* print .so versions of libraries in configure summary
btrfs-progs-5.8 (skipped)
-------------------------
btrfs-progs-5.7 (2020-07-02)
----------------------------
* mkfs:
* new option to enable features otherwise enabled at runtime, now
implemented for quotas, 'mkfs.btrfs -R quota'
* fix space accounting for small image, DUP and --rootdir
* option -A removed
* check: detect ranges with overlapping csum items
* fi usage: report correct numbers when plain RAID56 profiles are used
* convert: ensure the data chunks size never exceed device size
* libbtrfsutil: update documentation regarding subvolume deletion
* build: support libkcapi as implementation backend for cryptographic
primitives
* core: global options for verbosity (-v, -q), subcommands -v or -q are
aliases and will continue to work but are considered deprecated,
current command output is preserved to keep scripts working
* other:
* block group code cleanups
* build warning fixes
* more files moved to kernel-shared
* btrfs-debugfs ported to python 3
* documentation updates
* new tests
btrfs-progs-5.6 (2020-04-05)
----------------------------
* inspect logical-resolve: support LOGICAL_INO_V2 as new option '-o',
helps advanced dedupe tools
* inspect: user larger buffer (64K) for results
* subvol delete: support deletion by id (requires kernel 5.7+)
* libbtrfsutil:
* support subvolume deletion by id
* bump version to 1.2
* library symbols are now versioned
* dump-tree: new option --hide-names, replace any names (file, directory,
subvolume, xattr) in the output with stubs
* convert: warn if the filesystem is not mountable on the machine
* fixes:
* restore: proper mirror iteration on decompression error
* restore: make symlink messages less noisy
* check: handle holes at the beginning or end of file
* fix xxhash output on big endian machines
* receive: fix lookup of subvolume by uuid in case it was already
received before
* other:
* new and updated tests
* add missing binaries in exported testsuite
* docs updates
* remove obsolete files
* move files to more appropriate directories
* fixes reported by valgrind
* many typos fixed
btrfs-progs-5.6.1 (2020-05-07)
""""""""""""""""""""""""""""""
* print warning when multiple block group profiles exist, update 'fi usage'
summary, add docs to manual page explaining the situation
* build: optional support for libgcrypt or libsodium, providing hash
implementations
* other:
* fixed, updated and new tests
* cleanups
* updated docs
btrfs-progs-5.5 (skipped)
-------------------------
btrfs-progs-5.4 (2019-12-03)
----------------------------
* support new hash algorithms (kernel 5.5):
* mkfs.btrfs and btrfs-convert with --csum, crc32c, xxhash, sha256, blake2
* mkfs: support new raid1c3 and raid1c4 block group profiles (kernel 5.5)
* check:
* --repair delays start with a warning, can be skipped using --force
* enhanced detection of inode types from partial data, more options for
repair
* receive: fix quiet option
* image: speed up chunk loading
* fi usage:
* sort devices by id
* print ratio of used/total per block group type
* rescue zero-log: reset the log pointers directly, avoid reading some other
potentially damaged structures
* new make target install-static to install only static binaries/libraries
* other
* docs updates
* new tests
* cleanups and refactoring
btrfs-progs-5.4.1 (2020-01-09)
""""""""""""""""""""""""""""""
* build: fix docbook5 build
* check: do extra verification of extent items, inode items and chunks
* qgroup: return ENOTCONN if quotas not running (needs updated kernel)
* other: various test fixups
btrfs-progs-5.3 (2019-10-21)
----------------------------
* mkfs:
* new option to specify checksum algorithm (only crc32c)
* fix xattr enumeration
* dump-tree: BFS (breadth-first) traversal now default
* libbtrfsutil: remove stale BTRFS_DEV_REPLACE_ITEM_STATE_x defines
* ci: add support for gitlab
* other:
* preparatory work for more checksum algorithms
* docs update
* switch to docbook5 backend for asciidoc
* fix build on uClibc due to missing backtrace()
* lots of printf format fixups
btrfs-progs-5.3.1 (2019-10-25)
""""""""""""""""""""""""""""""
* libbtrfs: fix link breakage due to missing symbols
btrfs-progs-5.2 (2019-07-05)
----------------------------
* subvol show: print qgroup information when available
* scrub:
* status: show ETA, revamp the whole output
* fix reading/writing of last position on resume/cancel, potentially
skipping part of the filesystem on next resume
* dump-tree: add new option --noscan to use only devices given on the
command line
* all-in-one binary (busybox style) with mkfs.btrfs, btrfs-image,
btrfs-convert, btrfstune
* image: fix hang when there are more than 32 cpus online and compression is
requested
* convert: fix some false ENOSPC errors when --rootdir is used
* build: fix gcc9 warnings
* core changes
* command handling cleanups