Changes (btrfs-progs) 变更(btrfs-progs)

Signed release tarballs can be found at https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
签名的发布 tarballs 可在 https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/ 找到

btrfs-progs-6.8 (2024-03-26)
btrfs-progs-6.8(2024-03-26)

  • fix --enqueue option timeout handling
    修复--enqueue 选项超时处理

  • subvolume: remove support for undocumented options -c and -x, functionality disabled in kernel
    subvolume: 删除对未记录选项-c 和-x 的支持,内核中的功能已禁用

  • libbtrfsutil:
    • version 0.1.3, backward compabile
      版本 0.1.3,向后兼容

    • add aliases for all existing functions with unified naming scheme
      为所有现有函数添加别名,统一命名方案

    • updated header defintions for recently added kernel features
      更新了最近添加的内核功能的标题定义

  • send: v3 supported in experimental mode
    发送:v3 在实验模式下支持

  • 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
    mkfs:修复在选择块组树时在分区设备上写入的问题

  • tune: fix writing on zoned device with option --convert-to-block-group-tree
    tune:修复使用选项--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
    子卷删除: 删除选项 --delete-qgroup 和 --no-delete-qgroup (在 6.6.3 中添加), 由于子卷的延迟后台处理或在 sysfs:ggroup/drop_subtree_threshold 中设置值,qgroup 删除并不总是有效。

  • other: 其他:
    • misc refactoring 杂项重构

    • error handling fixes reported by gcc -fanalyzer
      由 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
    mkfs: 使 4k 扇区大小成为默认值,建议最小内核版本为 6.1,并要求在页面大小大于 4k 的架构上支持子页面

  • subvolume create: return correct error code when a target already exists
    子卷创建: 当目标已经存在时返回正确的错误代码

  • tree-checker: dump tree block on error (btrfs-convert, …)
    树检查器: 在错误时转储树块(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
    fi 使用情况:由于缺乏该信息,修复未分配数据或 raid56 配置文件而没有根权限的报告

  • convert: 转换:
    • align data block group lengths to 64K
      将数据块组长度对齐到 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
    转换:现在可以为目标文件系统启用 raid-stripe-tree

  • mkfs:
    • handle lifetime of open file descriptors so it does not trigger udev that could miss to create the UUID symlinks in /dev
      处理打开文件描述符的生命周期,以避免触发 udev,可能会错过在 /dev 中创建 UUID 符号链接

    • update warning when CPU page size does not match sector size
      当 CPU 页大小与扇区大小不匹配时更新警告

    • merge features in summary, no more distinction of incompat and runtime to match the semantics of option -O
      合并摘要中的功能,不再区分不兼容和运行时,以匹配选项 -O 的语义

  • fi show: fix recognizing raw device mapper paths
    修复识别原始设备映射路径的问题

  • other: 其他
    • CI updates, build images updates
      CI 更新,构建镜像更新

    • 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’
    新的全局选项 --dry-run,现在已为 'subvolume delete' 实现

  • fi defrag: new option --step to defragment files in steps, report progress
    fi defrag: 新选项 --step 以步骤方式碎片整理文件,报告进度

  • balance: removed support for obsolete short syntax ‘btrfs balance /path’
    删除了对过时短语法‘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
      废弃 --clear-space-cache,移至‘rescue’组

  • 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)
    rescue clear-space-cache: 新命令从‘btrfs check’移至,实现与选项 --clear-space-cache 相同的功能(将来将被废弃并移除)

  • dump-tree: output sequence number for inline refs
    转储树:内联引用的输出序列号

  • fixes: * fi resize: fallback to lowest devid when 1 does not exist, previously the
    修复:* fi 调整大小:当 1 不存在时回退到最低 devid,以前该命令会因为“没有这样的设备”而失败

    command would fail with “No such device”
    命令将失败并显示“没有这样的设备”

    • fi usage: fix “devices 0 != 1” message and broken output on multi-device filesystem
      修复“devices 0 != 1”消息和多设备文件系统上的损坏输出

    • 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’
      在读取 fsid 时以非阻塞模式打开文件,这可能会在尝试打开 fifo 文件或某些特殊字符设备时挂起,观察到与 'prop set/get' 一起使用时

  • experimental: 实验性:
    • mkfs: parametric zone size for emulated zoned mode
      mkfs:模拟分区模式的参数化区域大小

  • other: 其他
    • cleanups refactoring 清理重构

    • new and updated tests 新的和更新的测试

    • CI updates CI 更新

    • 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
    修复设备扫描 ioctl 定义,意外更改了“忘记” ioctl,导致无法挂载多设备文件系统

btrfs-progs-6.6.2 (2023-11-15)

  • squota: change key number of EXTENT_OWNER_REF_KEY, sync with kernel 6.7-rc1
    squota: 更改 EXTENT_OWNER_REF_KEY 的密钥编号,与内核 6.7-rc1 同步

  • property set/get: completely skip char devices, trying to set properties and open /dev/watchdog* causes a reboot
    property set/get: 完全跳过字符设备,尝试设置属性并打开 /dev/watchdog* 会导致重启

  • other: build warnings, test updates, documentation updates
    other: 构建警告,测试更新,文档更新

btrfs-progs-6.6.3 (2023-12-14)

  • subvol create: accept multiple arguments
    subvol create: 接受多个参数

  • subvol delete: print the subvolume id in the output
    subvol delete: 在输出中打印子卷 id

  • subvol sync: check if the filesystems is still writeable so it does not wait indefinitely
    subvol 同步:检查文件系统是否仍然可写,以免无限等待

  • device delete: add a timeout and warning when deleting multiple devices
    设备删除:在删除多个设备时添加超时和警告

  • scrub status: report limit if set in sysfs/../scrub_speed_max
    擦除状态:如果在 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
      修复 aarch64 上的 CPU 特性检测

    • support Botan and OpenSSL (3.2+) as crypto backends
      支持 Botan 和 OpenSSL(3.2+)作为加密后端

  • other: 其他:
    • documentation updates, RTD config update
      文档更新,RTD 配置更新

    • new and updated tests 新的和更新的测试

    • CI updates CI 更新

btrfs-progs-6.5 (2023-09-01)

  • crc32c implementation speedup (3x)
    crc32c 实现加速 (3 倍)

  • btrfstune:
    • be more strict about option combinations and refuse changing features from incompatible groups
      对选项组合更加严格,并拒绝从不兼容的组中更改功能

    • metadata_uuid changes fixes
      metadata_uuid 更改修复

  • libbtrfs: fix ABI breakage introduced in 6.3.1, revert struct subvol_info and subvol_uuid_search changes
    libbtrfs: 修复 6.3.1 中引入的 ABI 破坏,恢复 struct subvol_info 和 subvol_uuid_search 更改

  • CI updates CI 更新
    • pull request build tests enabled
      启用拉取请求构建测试

    • published static binaries built with backward compatibility (-march=x86-64)
      发布具有向后兼容性构建的静态二进制文件(-march=x86-64)

  • other 其他
    • documentation updates 文档更新

    • new and updated tests 新的和更新的测试

    • experimental feature updates (json, list-chunks, checksum switch)
      实验性功能更新(json,list-chunks,校验和开关)

    • code refactoring 代码重构

    • remove btrfs-fragments 移除 btrfs 片段

btrfs-progs-6.5.1 (2023-09-13)

  • build fixes: 构建修复:
    • crc32c if PIE or relro is enabled
      如果启用了 PIE 或 relro,则 crc32c

    • detect if PCLMUL feature is recognized by compiler and also detect that at runtime
      检测编译器是否识别 PCLMUL 功能,并在运行时检测

  • check: verify metadata item level when skinny-metadata is enabled
    检查:在启用 skinny-metadata 时验证元数据项级别

  • 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)
      raid-stripe-tree, 用于跟踪 RAID 配置的范围设备上的范围映射的新树,允许在分区设备上进行 raid1*、raid0 和 raid10(内核 6.7)

    • simple quotas, simplified accounting that does not track exclusive and shared extents (kernel 6.7)
      简单的配额,简化的会计不跟踪独占和共享的范围(内核 6.7)

    • mkfs with duplicate UUID on a single device, temp-fsid (kernel 6.7)
      在单个设备上使用重复的 UUID 进行 mkfs,temp-fsid(内核 6.7)

  • metadata_uuid: enhanced capabilities to repair partially updated fsid on multiple devices
    metadata_uuid: 增强的功能,用于修复部分更新的多设备上的 fsid

  • 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)
      为 -O 规范添加短别名,块组树(bgt),空闲空间树(fst),RAID 条带树(rst)

    • don’t try to resize the image (namely when backed by file) when --rootdir contains sparse file larger than the image
      当 --rootdir 包含比镜像大的稀疏文件时,请勿尝试调整图像大小(即当由文件支持时)

    • also copy xattr/permissions/ugid/timestamps of the top --rootdir directory
      还要复制顶层 --rootdir 目录的 xattr/权限/ugid/时间戳

    • add new option --device-uuid to let user specify exact uuid of the device item (only for single device filesystems)
      添加新选项 --device-uuid,让用户指定设备项的确切 uuid(仅适用于单设备文件系统)

  • 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)
    子卷创建: 添加新选项 --parent 以创建给定路径的缺失路径组件(类似于 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)
    救援清除 ino 缓存: 新命令从 'btrfs check' 移动,实现与选项 --clear-ino-cache 相同(将来会被弃用并移除)

  • dump-tree: allow ‘-’ in tree identifier names for option -t
    dump-tree: 允许在树标识符名称中使用 '-' 作为选项 -t

  • btrfstune:
    • drop short option and add long option to enable squota
      删除短选项并添加长选项以启用 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
    qgroup show: 修复尝试打印过时 qgroups 路径时崩溃的问题

  • experimental features: 实验性功能:
    • move build of raid-stripe-tree out for testing but it’s still considered experimental
      将 raid-stripe-tree 的构建移出进行测试,但仍被视为实验性的

  • other: 其他:
    • shell completion updates shell 自动补全更新

    • sync raid-stripe-tree code with kernel
      将 RAID 条带树代码与内核同步

    • build fixes 构建修复

    • new and updated tests 新的和更新的测试

btrfs-progs-6.4 (skipped)
btrfs-progs-6.4(已跳过)

btrfs-progs-6.3 (2023-04-27)
btrfs-progs-6.3(2023-04-27)

  • mkfs: option -R deprecated, options unified in -O (-R still works)
    mkfs:选项 -R 已弃用,选项已统一为 -O(-R 仍然有效)

  • mkfs: fix potential race with udev leading to EBUSY due to repeatedly opened file descriptors
    mkfs:修复与 udev 存在潜在竞争导致由于重复打开文件描述符而导致的 EBUSY

  • block-group-tree is out of experimental mode
    block-group-tree 已经退出实验模式
    • available as ‘mkfs.btrfs -O block-group-tree’
      可用作 'mkfs.btrfs -O block-group-tree'

    • btrfstune can do in-place conversion to/from (use with care)
      btrfstune 可以进行原地转换(谨慎使用)

  • balance: fix recognizing old and new syntax
    balance:修复对旧语法和新语法的识别

  • subvol snapshot: specific error if a failure is caused by an active swapfile
    subvol snapshot:如果由活动的交换文件引起失败,则提供特定错误

  • tree-stats: rephrase warning when run on a mounted filesystem
    tree-stats: 在挂载的文件系统上运行时重新表达警告

  • completion: ‘filesystem du’ also completes files
    completion: ‘filesystem du’ 也会完成文件

  • check: fix docs, help text and warning that --force + --repair works on a mounted filesystem
    check: 修复文档、帮助文本和警告,--force + --repair 在挂载的文件系统上工作

  • build: fix static build when static libudev is available
    修复当静态 libudev 可用时的静态构建

  • documentation: 文档:
    • more updates from wiki, developer docs, changelogs
      来自维基、开发者文档、更多更新、更改日志

    • reformatting 重新格式化

    • updates and fixes 更新和修复

  • other: 其他:
    • test updates and fixes 测试更新和修复

    • CI cleanups and old files removed
      CI 清理和删除旧文件

    • integration with Github actions
      与 Github actions 集成

btrfs-progs-6.3.1 (2023-05-29)

  • convert: fix checksum of a block relocated from 0-1M range
    转换: 修复从 0-1M 范围重新定位的块的校验和

  • qgroup show: fix formatting of limit values in json output
    qgroup show: 修复 JSON 输出中限制值的格式化

  • receive: report paret subovl UUID on errors
    接收:报告父级 UUID 上的错误

  • btrfsune: new option --convert-to-free-space-tree to convert from block-group-tree back to extent tree for block group tracking
    btrfsune:新选项 --convert-to-free-space-tree 用于将块组树转换回范围树,以便跟踪块组

  • mkfs: make option --rootdir more verbose and report start when filling from the given directory starts
    mkfs:使选项 --rootdir 更详细,并在从给定目录开始填充时报告开始

  • experimental: 实验性:
    • btrfstune: checksum switch logic reimplemented, conversion of all metadata and data now works, resume from various states also supported
      btrfstune: 校验开关逻辑重新实现,现在所有元数据和数据的转换都可以正常工作,还支持从各种状态恢复

  • other: 其他:
    • more CI github actions test coverage
      更多的 CI github 操作测试覆盖率

    • 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 和其他问题

  • mkfs: don’t print changed defaults notice with --quiet
    mkfs: 使用 --quiet 选项时不打印更改的默认通知

  • scrub: fix wrong stats of processed bytes in background and foreground mode
    scrub: 修复后台和前台模式中处理字节统计错误

  • convert: actually create free-space-tree instead of v1 space cache
    转换:实际上创建自由空间树而不是 v1 空间缓存

  • print-tree: recognize and print CHANGING_FSID_V2 flag (for the metadata_uuid change in progress)
    打印树:识别并打印 CHANGING_FSID_V2 标志(用于正在进行的 metadata_uuid 更改)

  • other: documentation updates
    其他:文档更新

btrfs-progs-6.3.3 (2023-07-27)

  • add btrfs-find-root to btrfs.box
    将 btrfs-find-root 添加到 btrfs.box

  • replace: properly enqueue if there’s another replace running
    替换:如果有另一个替换正在运行,则正确排队

  • other: 其他:
    • CI updates, more tests enabled, code coverage, badges
      CI 更新,启用更多测试,代码覆盖率,徽章

    • documentation updates 文档更新

    • build warning fixes 修复构建警告

btrfs-progs-6.2 (2023-02-28)

  • receive: fix a corruption when decompressing zstd extents
    接收:修复解压缩 zstd 区段时的损坏

  • subvol sync: print total number and deletion progress
    subvol 同步:打印总数和删除进度

  • accelerated hash algorithm implementations in fallback mode on x86_64
    在 x86_64 上加速哈希算法实现的回退模式

  • fi mkswapfile: new option --uuid
    fi mkswapfile:新选项--uuid

  • new global option --log=level to set the verbosity level directly
    新的全局选项 --log=level 可以直接设置详细程度

  • other: 其他:
    • experimental: update checksum conversion (not usable yet)
      实验性功能: 更新校验和转换(目前不可用)

    • build actually requires -std=gnu11
      构建实际需要 -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
    更新 CI 镜像,扩展构建测试

btrfs-progs-6.2.2 (2023-03-25)

  • fix build on old x86 architectures with builtin crypto
    修复在旧的 x86 架构上使用内置加密构建的问题

  • device stats: fix printing wrong values in tabular output
    设备统计: 修复在表格输出中打印错误值的问题

  • qgroup show: fix qgroup id formatting in json output
    qgroup show: 修复 JSON 输出中的 qgroup id 格式化问题

  • restore: fix restoring xattrs on directories
    修复:修复在目录上恢复 xattrs 时的恢复

  • 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
    种子:如果 sysfs 设备 fsid 不可用,则回退到旧方式

  • convert: handle orphan file ext4 feature
    转换:处理孤立文件 ext4 功能

  • other: 其他:
    • sync ioctl definitions 同步 ioctl 定义

    • enable github CI 启用 github CI

    • update documentation 更新文档

btrfs-progs-6.1 (2022-12-22)

  • NOTE: this version breaks build of applications using ctree.h and qgroup items
    注意:此版本破坏了使用 ctree.h 和 qgroup 项目构建应用程序

  • filesystem df: add json output
    文件系统 df:添加 JSON 输出

  • qgroup show: add json output
    qgroup show:添加 JSON 输出

  • new command: ‘inspect-internal map-swapfile’ to check swapfile and its swapfile_offset value used for hibernation
    新命令:'inspect-internal map-swapfile' 用于检查用于休眠的交换文件及其 swapfile_offset 值

  • corrupt-block: fix parsing of option --root argument
    修复解析选项 --root 参数的错误块

  • experimental (interfaces not finalized):
    实验性的(接口尚未最终确定):
    • new command ‘inspect-internal list-chunks’
      新命令 'inspect-internal list-chunks'

    • new group reflink, command clone
      新组反向链接,命令克隆

  • other: 其他:
    • synchronize some files with kernel versions
      与内核版本同步一些文件

    • docs updates 文档更新

    • build: use gnu11 构建:使用 gnu11

btrfs-progs-6.1.1 (2023-01-03)
btrfs-progs-6.1.1(2023-01-03) 

  • subvol list: fix printing of UUID
    子卷列表:修复 UUID 的打印

  • revert changes to ctree.h regarding qgroup items, breaks build of several applications
    撤销对 ctree.h 中关于 qgroup 项的更改,破坏了几个应用程序的构建

  • hide __init definition in kerncompat.h, may break build
    在 kerncompat.h 中隐藏 __init 定义,可能会破坏构建

btrfs-progs-6.1.2 (2023-01-05)
btrfs-progs-6.1.2(2023-01-05)

  • revert libbtrfs changes to v6.0.2, fix remaining build problems
    撤销对 libbtrfs 的更改至 v6.0.2,修复剩余的构建问题

btrfs-progs-6.1.3 (2023-01-25)
btrfs-progs-6.1.3(2023-01-25)

  • fi mkswapfile: fix setting size
    修复设置大小的 fi mkswapfile

  • mkfs: check zoned support of libblkid
    检查 libblkid 的分区支持

  • check: improve error messages for mismatched references
    改进不匹配引用的错误消息

  • other: 其他:
    • pass CFLAGS to static build
      将 CFLAGS 传递给静态构建

    • documentation updates 文档更新

btrfs-progs-6.0 (2022-10-11)

  • fi usage: in tabular output, print total size and slack size
    fi usage: 在表格输出中,打印总大小和松弛大小

  • mkfs:
    • option -O now accepts values from -R to unify the interface (-R will continue to work)
      选项 -O 现在接受来自 -R 的值,以统一界面(-R 将继续工作)

    • zone reset and discard is done in parallel on all devices
      区域重置和丢弃在所有设备上并行进行

    • removed option --leafsize, deprecated long time ago
      移除选项 --leafsize,已经废弃很久以前

  • 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
      mkfs: 修复使用 --rootdir 创建具有保留索引节点编号的文件

    • receive: escape filenames in command attributes
      receive: 在命令属性中转义文件名

    • fix extent buffer leaks after transaction abort
      修复事务中止后的范围缓冲区泄漏

  • experimental: 实验性:
    • mkfs: support for block-group-tree (kernel 6.1)
      mkfs:支持块组树(内核 6.1)

    • fsverity in send (protocol v3, WIP)
      fsverity 在发送中(协议 v3,进行中)

    • btrfstune -b converts to block-group-tree
      btrfstune -b 转换为块组树

  • 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
    由于增加缓冲区大小,v2 的速度略有提升

  • resize: invalid command line options fail with error code
    调整大小: 无效的命令行选项将以错误代码失败

  • quota rescan: 配额重新扫描:
    • add long options --status and --wait
      添加长选项 --status 和 --wait

    • new option to wait but don’t start rescan
      新选项等待但不启动重新扫描

  • qgroup show: print path by default, updated format
    qgroup show: 默认打印路径,更新格式

  • qgroup: new subcommand clear-stale, remove qgroups without their subvolumes
    qgroup: 新的子命令 clear-stale,删除没有子卷的 qgroups

  • experimental: 实验性的
    • add warnings to commands that have it enabled (mkfs, image, btrfstune)
      为启用了警告的命令添加警告(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
      正确处理降级的 raid56 读取

    • fi defrag: fix verbosity, don’t print file names by default
      fi defrag: 修复冗余性,不默认打印文件名

    • receive: fix silent data loss after fall back from encoded write
      接收: 修复从编码写入回退后的静默数据丢失

  • fi mkswapfile: new command to create a formatted swapfile in one go
    fi mkswapfile: 一次性创建格式化交换文件的新命令

btrfs-progs-5.19 (2022-08-16)

  • send: support protocol version 2
    send: 支持协议版本 2

  • fi show: print all missing devices
    fi show: 打印所有缺失设备

  • 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)
      转换:支持大型文件系统(块计数> 32 位)

    • recognize filesystems with verity enabled
      识别启用了 verity 的文件系统

    • mkfs and DUP could write out of order, fix it for zoned mode
      mkfs 和 DUP 可能无序写入,修复分区模式

  • build: 构建:
    • optional support for LZO and ZSTD in receive
      接收中对 LZO 和 ZSTD 的可选支持

    • compatibility with glibc 2.36 (mount.h)
      与 glibc 2.36 (mount.h) 兼容

    • add fallbacks for new GCC builtins
      为新的 GCC 内建函数添加回退方案

  • 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
    救援 fix-device-size:允许缩小设备项目

  • receive: fix crash on wrong pinter free()
    接收:修复错误指针 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 traling zeros in checksums
      dump-tree: 不要在校验和中打印尾随的零

    • 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
      mkfs:不为空文件系统创建空闲空间位图

  • restore: make lzo support build-time configurable, print supported compression in help text
    restore:使 lzo 支持在构建时可配置,打印支持的压缩方式在帮助文本中

  • update kernel-lib sources
    更新 kernel-lib 源码

  • other: 其他:
    • documentation updates, finish conversion to RST, CHANGES and INSTALL could be included into RST
      文档更新,完成转换为 RST,CHANGES 和 INSTALL 可以包含在 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++
      构建:使内核库头文件与 C++ 兼容

  • zoned mode: verify minimum zone size 4MiB
    分区模式:验证最小分区大小为 4MiB

  • libbtrfs: cleanups, merge headers and remove declarations of unexported symbols
    libbtrfs:清理,合并头文件并删除未导出符号的声明

  • other: documentation updates
    其他:文档更新

btrfs-progs-5.17 (2022-04-26)
btrfs-progs-5.17(2022-04-26) 

  • check: 检查:
    • repair wrong num_devices in superblock
      修复超级块中错误的 num_devices

    • recognize overly long xattr names
      识别过长的 xattr 名称

    • fix wrong total bytes check for seed device
      修复种子设备的错误总字节检查

  • auto-repair on read on RAID56
    在 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
    属性设置: 统一处理空值以表示默认值,更改属性'compression'的含义以允许重置为默认值并设置为 NOCOMPRESS,自内核 5.14 起生效

  • fixes: 修复:
    • dump-tree: print fs-verity items
      dump-tree: 打印 fs-verity 项目

    • 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
      mkfs 和子页面支持:对于混合配置文件,使用扇区大小作为节点大小回退

  • preparatory work for extent tree v2, global roots
    扩展树 v2 的准备工作,全局根节点

  • experimental feature (unstable interface, not built by default,
    实验性功能(不稳定的接口,默认情况下不构建,

    do not use for production) * btrfstune: option --csum to switch checksum algorithm
    请勿用于生产)* btrfstune:选项--csum 用于切换校验算法

  • other: 其他:
    • cleanups, refactoring 清理,重构

    • update documentation build, remove asciidocs leftovers
      更新文档构建,删除 asciidocs 遗留部分

    • update fssum to consider xattrs
      更新 fssum 以考虑 xattrs

    • add fsstress 添加 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
    rescue: 新的子命令 clear-uuid-tree 用于修复由于坏的 uuid 子卷键导致的挂载失败,被 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
      由于 linux/kernel.h 中的更改,在 5.12+ 内核上修复构建问题

    • fix build on musl with old kernel headers
      在具有旧内核头文件的 musl 上修复构建问题

  • other: 其他:
    • error handling fixes, cleanups, refactoring
      错误处理修复,清理,重构

    • extent tree v2 preparatory work
      扩展树 v2 准备工作

    • lots of RST documentation updates (last release with asciidoc sources), https://btrfs.readthedocs.io
      大量的 RST 文档更新(最后一个带有 asciidoc 源的版本),https://btrfs.readthedocs.io

btrfs-progs-5.16.1 (2022-02-04)
btrfs-progs-5.16.1(2022-02-04)

  • mkfs: support DUP on metadata on zoned devices
    mkfs:在分区设备上支持元数据的 DUP

  • subvol delete: drop warning for root when search ioctl fails
    删除子卷:当搜索 ioctl 失败时为根目录下的警告添加删除

  • check: 检查:
    • fix --init-csum-tree to not create checksums for extents that are not supposed to have them
      修复 --init-csum-tree,不为不应该有校验和的范围创建校验和

    • add check for metadata item levels
      为元数据项级别添加检查

  • add udev rule for zoned devices as they require mq-deadline
    为分区设备添加 udev 规则,因为它们需要 mq-deadline

  • build: fix redefinition of ALIGN on mixed old/new kernel/userspace (5.11)
    构建: 修复在混合旧/新内核/用户空间(5.11)上重新定义 ALIGN

  • other: 其他:
    • typo fixes 修正拼写错误

    • new tests 新测试

    • CI targets updated CI 目标已更新

btrfs-progs-5.16.2 (2022-02-16)

  • mkfs: fix detection of profile type for zoned mode when creating DUP
    mkfs: 修复在创建 DUP 时检测分区模式的问题

  • build: 构建:
    • add missing stub for zoned mode helper when zoned mode not enabled
      当分区模式未启用时,为分区模式助手添加缺失的存根

    • fix 64bit types on MIPS and PowerPC
      修复 MIPS 和 PowerPC 上的 64 位类型

    • improved zoned mode support autodetection, for systems with existing blkzone.h header but missing support for zone capacity
      改进的分区模式支持自动检测,适用于具有现有 blkzone.h 头文件但缺少区容量支持的系统

  • other: 其他:
    • doc updates 文档更新

    • test updates 测试更新

btrfs-progs-5.15 (2021-11-05)

  • mkfs: new defaults! mkfs: 新默认值!
    • 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
      引入 Sphinx 构建和 RST 版本的手册页面,将成为新的格式并取代 asciidoc

  • fixes: 修复:
    • fix warning regarding v1 space cache when only v2 (free space tree) is enabled
      修复有关仅启用 v2(空闲空间树)时对 v1 空间缓存的警告

  • other 其他
    • lots of cleanups and refactoring
      大量清理和重构

    • zoned mode uses direct io for file backed images
      分区模式使用直接 IO 来处理文件支持的镜像

    • 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
    构建:使 Sphinx 成为文档的可选后端

btrfs-progs-5.14 (2021-09-10)

  • convert: 转换:
    • new option --uuid to copy, generate or set a given uuid
      新选项 --uuid 用于复制、生成或设置给定的 uuid

    • improve output 改善输出

  • mkfs: mkfs:
    • allow to create degenerate raid0 (on 1 device) and raid10 (on 2 devices)
      允许创建退化的 raid0(在 1 个设备上)和 raid10(在 2 个设备上)

  • image: 图像
    • improved error messages 改进的错误消息

    • fix some alignment of restored image
      修复了一些恢复图像的对齐问题

  • subvol delete: allow to delete by id when path is not resolvable
    subvol delete: 允许在路径无法解析时按 ID 删除

  • check: 检查:
    • require alignment of nodesize for 64k page systems
      对于 64k 页系统,需要节点大小对齐

    • detect and fix invalid block groups
      检测并修复无效的块组

  • libbtrfs (deprecated): libbtrfs(已弃用):
    • remove most exported symbols, leave only a few that are used by snapper
      删除大多数导出的符号,仅保留 snapper 使用的少数符号

    • no version change (still 0.1)
      没有版本更改(仍然是 0.1)

    • remove btrfs-list.h, btrfsck.h
      删除 btrfs-list.h,btrfsck.h

  • fixes: 修复:
    • reset generation of space v1 if v2 is used
      如果使用了 v2,则重置空间 v1 的生成

    • fi us: don’t wrongly report missing device size when partition is not readable
      fi us: 在分区不可读时,不要错误报告丢失的设备大小

  • other: 其他:
    • build: experimental features
      构建:实验性功能

    • build: better detection of 64bit timestamp support for ext4
      构建:更好地检测 ext4 支持 64 位时间戳

    • corrupt-block: block group items
      corrupt-block:块组项

    • new and updated tests 新的和更新的测试

    • refactoring 重构

  • experimental features: 实验性功能:
    • new image dump format, with data
      新的图像转储格式,带有数据

btrfs-progs-5.14.1 (2021-09-20)
btrfs-progs-5.14.1(2021-09-20)

  • fixes: 修复:
    • defrag: fix parsing of compression (option -c)
      修复压缩解析(选项 -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
      仅允许检查和恢复带有事务 ID 失败的文件系统,即防止 btrfstune 这样做

    • convert: --uuid copy does not fail on duplicate uuids
      转换:--uuid 复制在重复的 uuid 上不会失败

btrfs-progs-5.14.2 (2021-10-08)
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
        raid1c3/4 也从不支持的配置文件中排除

    • use sysfs-based detection of device discard capability, fix mkfs-time trim for non-standard devices
      使用基于 sysfs 的设备丢弃能力检测,修复非标准设备的 mkfs 时修剪

    • mkfs: fix creation of populated filesystem with free space tree
      mkfs: 修复创建带有空闲空间树的已填充文件系统

    • detect multipath devices (needs libudev)
      检测多路径设备(需要 libudev)

  • replace start: add option -K/--nodiscard, similar to what mkfs or device add has
    替换 start: 添加选项 -K/--nodiscard,类似于 mkfs 或设备添加

  • dump-tree: print complete root_item
    dump-tree: 打印完整的 root_item

  • mkfs: add option --verbose
    mkfs: 添加选项 --verbose

  • sb-mod: better help, no checksum calculation on read-only actions
    sb-mod: 改进帮助,只读操作时不进行校验和计算

  • subvol show:
    • print more information (regarding send and receive)
      打印更多信息(关于发送和接收)

    • print warning if read-write subvolume has received_uuid set
      如果读写子卷设置了 received_uuid,则打印警告

  • property set: 属性设置:
    • add parameter -f to force changes
      添加参数 -f 以强制更改

    • changing ro->rw switch now needs -f if subvolume has received_uuid set, (see documentation)
      如果子卷已设置 received_uuid,则现在更改 ro->rw 开关需要 -f(请参阅文档)

  • build 构建
    • optional libudev (on by default)
      可选的 libudev(默认情况下启用)

  • other 其他
    • remove deprecated support for CREATE_ASYNC bit for subvolume ioctl
      删除对子卷 ioctl 的 CREATE_ASYNC 位的弃用支持

    • CI updates CI 更新

    • 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)
    检查 dump-tree:打印节点(--csum-headers)和数据校验和(--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
    mkfs:关于 sha256 加速模块加载问题的注意事项

  • check: ability to reset dev_item::bytes_used
    检查:重置 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)
    fi 调整大小:支持取消(内核 5.14)

  • device remove: support cancel (kernel 5.14)
    设备移除:支持取消(内核 5.14)

  • documentation about general topics
    一般主题的文档
    • compression 压缩

    • zoned mode 分区模式

    • storage model 存储模型

    • hardware considerations 硬件考虑

  • other 其他
    • libbtrfsutil API overview
      libbtrfsutil API 概述

    • help text fixes and updates
      帮助文本修复和更新

    • hash speedtest measure time, cycles using perf and print throughput
      哈希速度测试,使用 perf 测量时间、周期并打印吞吐量

btrfs-progs-5.13.1 (2021-07-30)

  • build: fix build on musl libc due to missing definition of NAME_MAX
    修复在 musl libc 上构建时由于缺少 NAME_MAX 定义而无法构建

  • check: 检查:
    • batch more work into one transaction when clearing v1 free space inodes
      在清除 v1 空闲空间 inode 时将更多工作批量处理到一个事务中

    • detect directories with wrong number of links
      检测链接数错误的目录

  • libbtrfsutil: fix race between subvolume iterator and deletion
    libbtrfsutil: 修复子卷迭代器和删除之间的竞争条件

  • mkfs: be more specific about supported profiles for zoned device
    mkfs: 对分区设备支持的配置文件进行更详细的说明

  • other: 其他
    • documentation updates 文档更新

btrfs-progs-5.12 (2021-05-10)

  • libbtrfsutil: relicensed to LGPL v2.1+
    libbtrfsutil:重新授权为 LGPL v2.1+

  • mkfs: zoned mode support (kernel 5.12+)
    mkfs:分区模式支持(内核 5.12+)

  • fi df: show zone_unusable per profile type in zoned mode
    在分区模式中按配置类型显示 zone_unusable

  • fi usage: show total amount of zone_unusable
    显示 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
      实现分区模式支持:分配和写入,sb 日志

    • crypto/hash refactoring and cleanups
      加密/哈希重构和清理

    • refactoring and cleanups 重构和清理

  • other 其他
    • test updates 测试更新

    • CI updates CI 更新

    • travis-ci integration disabled
      禁用了 travis-ci 集成

    • docker images updated, more coverage
      更新了 Docker 镜像,覆盖范围更广

    • incomplete build support for Android removed
      移除了 Android 的不完整构建支持

  • doc updates 文档更新
    • chattr mode m for ‘NOCOMPRESS”
      为“NOCOMPRESS”设置 chattr 模式 m

    • swapfile used from fstab 从 fstab 使用 swapfile

    • how to add a new export to libbtrfsutil
      如何向 libbtrfsutil 添加新的导出

    • update status of mount options since 5.9
      自 5.9 以来更新挂载选项的状态

btrfs-progs-5.12.1 (2021-05-13)

  • build: fix missing symbols in libbtrfs
    修复 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
    修复在 16K 页面上以分区模式写入超级块

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
    构建:检测 e2fsprogs 是否支持 64 位时间戳

  • build: drop libmount, required functionality has been reimplemented
    构建:删除 libmount,所需功能已被重新实现

  • mkfs: warn when raid56 is used
    使用 raid56 时发出警告

  • balance convert: warn when raid56 is used
    在转换平衡时使用 raid56 时发出警告

  • other 其他
    • new and updated tests 新的和更新的测试

    • documentation updates 文档更新
      • seeding device 设备种植

      • raid56 status raid56 状态

    • CI updates CI 更新
      • docker images for various distros
        各种发行版的 Docker 镜像

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
    检查:修复在树块跨越 64K 页面边界时的虚警

  • convert: 转换:
    • refuse to convert filesystem with ‘needs_recovery’
      拒绝转换带有“needs_recovery”的文件系统

    • update documentation to require fsck before conversion
      更新文档以要求在转换之前运行 fsck

  • balance convert: fix raid56 warning when converting other profiles
    在转换其他配置文件时修复 RAID56 警告

  • fi resize: improved summary
    改进了摘要

  • other 其他
    • build: fix checks and autoconf defines
      修复检查和 autoconf 定义

    • fix symlink paths for CI support scripts
      修复符号链接路径以支持 CI 脚本

    • 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
    fi 用法:同时从 statfs 打印剩余空间

  • convert: copy full 64 bit timestamp from ext4 if available
    转换:如果可用,从 ext4 复制完整的 64 位时间戳

  • check: 检查:
    • add ability to repair extent item generation
      添加修复范围项生成的能力

    • new option to remove leftovers from inode number cache (-o inode_cache)
      从索引节点号缓存中删除剩余项的新选项 (-o inode_cache)

  • check for already running exclusive operation (balance, device add/…) when starting one
    在启动一个操作时检查是否已经运行了独占操作(结算,设备添加/...)

  • preliminary json output support for ‘device stats’
    “设备统计”的初步 JSON 输出支持

  • fixes: 修复:
    • subvolume set-default: id 0 correctly falls back to toplevel
      子卷集默认设置:id 0 正确地回退到顶层

    • receive: align internal buffer to allow fast CRC calculation
      接收:对齐内部缓冲区以允许快速 CRC 计算

    • logical-resolve: distinguish -o subvol and bind mounts
      逻辑解析:区分 -o subvol 和绑定挂载

  • build: new dependency libmount
    构建:新依赖项 libmount

  • other 其他
    • doc fixes and updates 文档修复和更新

    • new tests 新测试

    • ci on gitlab temporarily disabled
      暂时禁用 GitLab 上的 CI

    • 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
      更新依赖项,libmount 的最低版本为 2.24,这在将来可能会更改

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
      将默认切换为多设备文件系统的单个配置文件,到目前为止,它是 raid0,可能不容易转换为其他配置文件,因为 raid0 需要在所有设备上都有一个工作空间。

    • new option -R for run-time options (eg. mount time enabled), now understands free-space-tree
      运行时选项的新选项 -R(例如,挂载时间启用),现在理解 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
      在子卷上发送正在进行时,对 EPERM 进行警告

  • convert: 转换:
    • fix 32bit overflows on large filesystems
      修复大型文件系统上的 32 位溢出

    • improved error handling and error messages
      改进错误处理和错误消息

    • check free space taking fragmentation into account
      考虑碎片化的情况检查可用空间

  • check: 检查:
    • detect and repair wrong inode generation
      检测和修复错误的 inode 生成

    • minor improvement in error reporting on roots
      在根目录上改进错误报告

  • libbtrfsutils: follow main package versioning (5.9)
    libbtrfsutils: 遵循主要软件包版本(5.9)
    • add pkg-config file definitions
      添加 pkg-config 文件定义

  • python-btrfsutil: follow main package versioning (5.9)
    python-btrfsutil: 遵循主包版本 (5.9)

  • inspect tree-stats: print node counts for each level, fanout
    检查 tree-stats: 打印每个级别的节点计数,扇出

  • other: 其他:
    • docs: 文档:
      • remove obsolete mount options (alloc_start, subvolrootid)
        删除过时的挂载选项(alloc_start,subvolrootid)

      • deleting default subvolume is not permitted
        不允许删除默认子卷

    • updated or fixed tests 更新或修复测试

    • .editorconfig updates .editorconfig 更新

    • move files to kernel-shared/
      将文件移动到 kernel-shared/

    • CI:
      • updated to use zstd 1.4.5
        更新为使用 zstd 1.4.5

      • fix reiserfs build 修复 reiserfs 构建

      • more builds with asan, ubsan
        使用 asan、ubsan 进行更多构建

    • sb-mod updates sb-mod 更新

    • build: 构建:
      • print .so versions of libraries in configure summary
        在配置摘要中打印库的 .so 版本

btrfs-progs-5.8 (skipped)
btrfs-progs-5.8(已跳过)

btrfs-progs-5.7 (2020-07-02)
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’
      启用运行时默认启用的功能的新选项,现在已为配额实现,'mkfs.btrfs -R quota'

    • fix space accounting for small image, DUP and --rootdir
      修复小图像、DUP 和 --rootdir 的空间计算

    • option -A removed 选项 -A 已移除

  • check: detect ranges with overlapping csum items
    检查:检测具有重叠 csum 项的范围

  • fi usage: report correct numbers when plain RAID56 profiles are used
    fi 用法:在使用普通 RAID56 配置文件时报告正确的数字

  • convert: ensure the data chunks size never exceed device size
    转换:确保数据块大小永远不超过设备大小

  • libbtrfsutil: update documentation regarding subvolume deletion
    libbtrfsutil:更新有关子卷删除的文档

  • build: support libkcapi as implementation backend for cryptographic primitives
    构建:支持 libkcapi 作为加密原语的实现后端

  • 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
    核心: 全局选项用于控制详细程度(-v,-q),子命令 -v 或 -q 是别名,将继续工作,但被视为已弃用,当前命令输出被保留以保持脚本正常工作

  • other: 其他:
    • block group code cleanups
      区块组代码清理

    • build warning fixes 构建警告修复

    • more files moved to kernel-shared
      更多文件移动到内核共享

    • btrfs-debugfs ported to python 3
      btrfs-debugfs 迁移到 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
    检查逻辑解析:支持 LOGICAL_INO_V2 作为新选项 '-o',有助于高级重复数据删除工具

  • inspect: user larger buffer (64K) for results
    检查:为结果使用更大的缓冲区(64K)

  • subvol delete: support deletion by id (requires kernel 5.7+)
    子卷删除:支持按 ID 删除(需要内核 5.7+)

  • libbtrfsutil:
    • support subvolume deletion by id
      通过 ID 支持子卷删除

    • bump version to 1.2 将版本号提升至 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
    dump-tree: 新选项 --hide-names,用存根替换输出中的任何名称(文件、目录、子卷、xattr)

  • 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
      修复大端机器上的 xxhash 输出

    • receive: fix lookup of subvolume by uuid in case it was already received before
      接收:修复按 UUID 查找子卷时,如果之前已接收过,则无法找到的问题

  • 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
      由 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 maual page explaining the situation
    当存在多个块组配置文件时打印警告,更新“fi usage”摘要,向手册页面添加说明该情况的文档

  • build: optional support for libgcrypt or libsodium, providing hash implementations
    构建: 可选支持 libgcrypt 或 libsodium,提供哈希实现

  • other: 其他:
    • fixed, updated and new tests
      修复、更新和新增测试

    • cleanups 清理工作

    • updated docs 更新文档

btrfs-progs-5.5 (skipped)
btrfs-progs-5.5(已跳过)

btrfs-progs-5.4 (2019-12-03)
btrfs-progs-5.4(2019-12-03)

  • support new hash algorithms (kernel 5.5):
    支持新的哈希算法(内核 5.5):
    • mkfs.btrfs and btrfs-convert with --csum, crc32c, xxhash, sha256, blake2
      使用 --csum、crc32c、xxhash、sha256、blake2 的 mkfs.btrfs 和 btrfs-convert

  • mkfs: support new raid1c3 and raid1c4 block group profiles (kernel 5.5)
    mkfs:支持新的 raid1c3 和 raid1c4 块组配置文件(内核 5.5)

  • check: 检查:
    • --repair delays start with a warning, can be skipped using --force
      --修复延迟从警告开始,可以使用--force 跳过

    • enhanced detection of inode types from partial data, more options for repair
      从部分数据增强节点类型检测,修复选项更多

  • receive: fix quiet option
    接收:修复静默选项

  • image: speed up chunk loading
    图像:加快块加载速度

  • fi usage: fi 用法:
    • sort devices by id 按 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
    救援 zero-log:直接重置日志指针,避免读取其他可能受损的结构

  • new make target install-static to install only static binaries/libraries
    新建 make 目标 install-static 以仅安装静态二进制文件/库

  • other 其他
    • docs updates 文档更新

    • new tests 新测试

    • cleanups and refactoring 清理和重构

btrfs-progs-5.4.1 (2020-01-09)

  • build: fix docbook5 build
    构建:修复 docbook5 构建

  • check: do extra verification of extent items, inode items and chunks
    检查:对范围项、inode 项和块进行额外验证

  • qgroup: return ENOTCONN if quotas not running (needs updated kernel)
    qgroup:如果配额未运行,则返回 ENOTCONN(需要更新的内核)

  • other: various test fixups
    其他:各种测试修复

btrfs-progs-5.3 (2019-10-21)

  • mkfs:
    • new option to specify checksum algorithm (only crc32c)
      指定校验算法的新选项(仅限 crc32c)

    • fix xattr enumeration 修复 xattr 枚举

  • dump-tree: BFS (breadth-first) traversal now default
    dump-tree: BFS(广度优先)遍历现在是默认值

  • libbtrfsutil: remove stale BTRFS_DEV_REPLACE_ITEM_STATE_x defines
    libbtrfsutil: 删除过时的 BTRFS_DEV_REPLACE_ITEM_STATE_x 定义

  • ci: add support for gitlab
    ci: 为 gitlab 添加支持

  • other: 其他
    • preparatory work for more checksum algorithms
      更多校验算法的预备工作

    • docs update 文档更新

    • switch to docbook5 backend for asciidoc
      切换到 asciidoc 的 docbook5 后端

    • fix build on uClibc due to missing backtrace()
      修复在 uClibc 上构建时由于缺少 backtrace() 而导致的问题

    • lots of printf format fixups
      大量的 printf 格式修复

btrfs-progs-5.3.1 (2019-10-25)
btrfs-progs-5.3.1 (2019-10-25)

  • libbtrfs: fix link breakage due to missing symbols
    libbtrfs: 修复由于缺少符号而导致的链接中断

btrfs-progs-5.2 (2019-07-05)

  • subvol show: print qgroup information when available
    subvol show: 在可用时打印 qgroup 信息

  • 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 commandline
    dump-tree: 添加新选项 --noscan,仅使用命令行中提供的设备

  • all-in-one binary (busybox style) with mkfs.btrfs, btrfs-image, btrfs-convert, btrfstune
    具有 mkfs.btrfs、btrfs-image、btrfs-convert、btrfstune 的一体化二进制文件(busybox 风格)

  • image: fix hang when there are more than 32 cpus online and compression is requested
    修复当在线 CPU 超过 32 个且请求压缩时出现挂起的问题

  • convert: fix some false ENOSPC errors when --rootdir is used
    修复在使用 --rootdir 时出现一些虚假的 ENOSPC 错误

  • build: fix gcc9 warnings 修复 gcc9 警告

  • core changes 核心变更
    • command handling cleanups
      命令处理清理

    • dead code removal 无用代码移除

    • cmds-* files moved to cmds/
      cmds-* 文件移动到 cmds/

    • other shared userspace files moved to common/
      其他共享用户空间文件移动到 common/

    • utils.c split into more files
      将 utils.c 拆分为更多文件

    • preparatory work for more output formats
      为更多的输出格式做准备工作

    • libbtrfsutil: fix unaligned access
      libbtrfsutil:修复未对齐访问

  • other 其他
    • new and updated tests 新的和更新的测试

    • fix tests so CI passes again
      修复测试以使 CI 再次通过

    • sb-mod can modify more superblock items
      sb-mod 可以修改更多的超级块项目

btrfs-progs-5.2.1 (2019-07-26)

  • scrub status: fix ETA calculation after resume
    修复恢复后 ETA 计算的洗刷状态

  • check: fix crash when using -Q
    检查:修复使用 -Q 时崩溃的问题

  • restore: fix symlink owner restoration
    恢复:修复符号链接所有者恢复的问题

  • mkfs: fix regression with mixed block groups
    mkfs:修复混合块组引起的回归问题

  • core: fix commit to process all delayed refs
    核心: 修复提交以处理所有延迟的引用

  • other: 其他:
    • minor cleanups 小的清理工作

    • test updates 测试更新

btrfs-progs-5.2.2 (2019-09-05)

  • check: 检查:
    • fix false report of wrong byte count for orphan inodes
      修复孤立的 inode 的错误字节计数的错误报告

    • option -E was not handled correctly
      选项-E 没有被正确处理

    • new check and repair for root item generation
      根项目生成的新检查和修复

  • balance: check for full-balance before background fork
    检查后台分叉之前的全额余额

  • mkfs: check that total device size does not overflow 16EiB
    mkfs: 检查总设备大小不会溢出 16EiB

  • dump-tree: print DEV_STATS key type
    dump-tree: 打印 DEV_STATS 键类型

  • other: 其他:
    • new and updated tests 新的和更新的测试

    • doc fixups and updates 文档修复和更新

btrfs-progs-5.1 (2019-05-17)
btrfs-progs-5.1(2019-05-17)

  • (version 5.0 skipped) (版本 5.0 被跳过)

  • check: 检查:
    • repair: flush/FUA support to avoid breaking metadata COW
      修复:刷新/FUA 支持以避免破坏元数据 COW

    • file extents repair no longer relies on data in extent tree
      文件范围修复不再依赖于范围树中的数据

    • lowmem: fix false error reports about gaps between extents
      低内存:修复关于范围之间间隙的虚假错误报告

    • add inode mode check and repair for various objects
      为各种对象添加 inode 模式检查和修复

    • add check for invalid combination of nocow/compressed extents
      添加对 nocow/compressed extents 无效组合的检查

  • device scan: new option to forget scanned devices
    设备扫描:忘记已扫描设备的新选项

  • mkfs: use same chunk size as kernel for initial creation
    mkfs:使用与内核相同的块大小进行初始创建

  • dev-replace: better report when other exclusive operation is running
    dev-replace:在运行其他独占操作时更好地报告

  • help: for syntax errors on command line, print only the relevant messages, not the whole help text
    帮助:对于命令行上的语法错误,仅打印相关消息,而不是整个帮助文本

  • receive: 接收
    • new option for quiet mode
      安静模式的新选项

    • on -vv print information about written ranges
      在 -vv 模式下打印有关写入范围的信息

    • fix endless loop with --dump on an invalid stream
      修复在无效流上使用 --dump 时的无限循环

  • defrag: able open files in RO mode (needs kernel support to work)
    defrag: 能够以只读模式打开文件(需要内核支持才能工作)

  • dump-tree: --block can be specified multiple times
    dump-tree: --block 可以多次指定

  • libbtrfsutil: fix: don’t close fd on error in btrfs_util_subvolume_id_fd
    libbtrfsutil:修复:在 btrfs_util_subvolume_id_fd 中的错误上不要关闭 fd

  • core: 核心:
    • add sync before superblock write
      在写入超级块之前添加同步

    • better error handling on the transaction commit path
      在事务提交路径上改进错误处理

    • try to find best copy when reading tree blocks
      在读取树块时尝试找到最佳副本

    • update backup roots on commit transaction
      在提交事务时更新备份根节点

  • other: 其他:
    • fuzz tests pass and are enabled in CI
      模糊测试通过并在 CI 中启用

    • cleanups 清理

    • new tests 新测试

btrfs-progs-5.1.1 (2019-06-11)
btrfs-progs-5.1.1(2019-06-11)

  • convert and mkfs will try to use optimized crc32c
    转换和 mkfs 将尝试使用优化的 crc32c

  • fi show: accept a file-backed image
    fi show: 接受文件支持的镜像

  • fi show: fix possible crash when device is deleted in parallel
    fi show: 修复可能在并行删除设备时导致崩溃的问题

  • build: 构建:
    • support extra flags for python bindings
      为 Python 绑定支持额外标志

    • separate LDFLAGS for libbtrfsutil
      为 libbtrfsutil 分离 LDFLAGS

  • other: 其他:
    • space reservation fixes or debugging improvements
      空间预留修复或调试改进

    • V0 extent code removed V0 范围代码已移除

    • more tests and cleanups 更多测试和清理工作

btrfs-progs-4.x (2019-02-25)

btrfs-progs-4.20 (2019-01-19)

  • new feature: metadata uuid
    新功能: 元数据 UUID
    • lightweight change of UUID without rewriting all metadata (incompatible change)
      在不重写所有元数据的情况下轻量更改 UUID(不兼容更改)

    • done by btrfstune -m/-M 由 btrfstune -m/-M 完成

    • needs kernel support, 5.0+
      需要内核支持,5.0+

  • image: 图像
    • fix block groups when restoring from multi-device image
      从多设备图像恢复时修复块组

    • only enlarge result image if it’s a regular file
      仅在结果图像为常规文件时扩大

  • check 检查
    • more device extent checks and fixes
      更多设备扩展检查和修复

    • can repair dir item with mismatched hash
      可以修复哈希不匹配的目录项

  • mkfs: uuid tree created with proper contents
    使用正确内容创建的 UUID 树

  • fix mount point detection due to partial prefix match
    修复由于部分前缀匹配导致的挂载点检测问题

  • other: 其他:
    • new tests 新测试

    • libbtrfsutil: fix tests if kernel lacks support for new subvolume ioctls
      libbtrfsutil:如果内核不支持新的子卷 ioctls,则修复测试

    • build fixes 构建修复

    • doc fixes 文档修复

btrfs-progs-4.20.1 (2019-01-23)
  • libbtrfs: fix build of external tools due to missing symbols
    libbtrfs: 修复外部工具构建时由于缺少符号而导致的问题

  • ci: enable library test ci:启用库测试

btrfs-progs-4.20.2 (2019-02-25)
btrfs-progs-4.20.2(2019-02-25)
  • ci: use newer distro for builds
    ci:为构建使用更新的发行版

  • dump-super: minor output fixup
    dump-super: 小的输出修正

  • revert fix for prefix detection of receive path, this is temporary and unbreaks existing user setups
    撤销接收路径前缀检测修复,这是临时的,不会破坏现有用户设置

btrfs-progs-4.19 (2018-11-03)

  • check: support repair of fs with free-space-tree feature
    检查:支持具有自由空间树功能的文件系统的修复

  • core: 核心:
    • port delayed ref infrastructure from kernel
      从内核移植延迟引用基础设施

    • support write to free space tree
      支持写入空闲空间树

  • dump-tree: new options for BFS and DFS enumeration of b-trees
    dump-tree: B 树的 BFS 和 DFS 枚举的新选项

  • quota: rescan is now done automatically after ‘assign’
    配额: 在“assign”后现在自动执行重新扫描

  • btrfstune: incomplete fix to uuid change
    btrfstune: 修复 uuid 更改的不完整问题

  • subvol: fix 255 char limit checks
    subvol: 修复 255 字符限制检查

  • completion: complete block devices and now regular files too
    completion: 完成块设备,现在也包括常规文件

  • docs: 文档:
    • ship uncompressed manual pages
      发送未压缩的手册页

    • btrfsck uses a manual page link instead of symlink
      btrfsck 使用手册页链接而不是符号链接

  • other 其他
    • improved error handling 改进的错误处理

    • docs 文档

    • new tests 新测试

btrfs-progs-4.19.1 (2018-12-05)
btrfs-progs-4.19.1(2018-12-05)
  • build fixes 构建修复
    • big-endian builds fail due to bswap helper clashes
      大端构建由于 bswap 助手冲突而失败

    • ‘swap’ macro is too generic, renamed to prevent build failures
      'swap' 宏太通用,已重命名以防止构建失败

  • libbtrfs
    • minor version update to 1.1.0
      小版本更新至 1.1.0

    • fix default search to top=0 as documented
      修复默认搜索为 top=0,如文档所述

    • rename ‘async’ to avoid future python binding problems
      重命名'async'以避免未来的 Python 绑定问题

    • add support for unprivileged subvolume listing ioctls
      为非特权子卷列表 ioctl 添加支持

    • added tests, API docs 添加了测试,API 文档

  • other 其他
    • lot of typos fixed 修复了很多拼写错误

    • warning cleanups 警告清理

    • doc formatting updates 文档格式更新

    • CI tests against zstd 1.3.7
      针对 zstd 1.3.7 的 CI 测试

btrfs-progs-4.18 (skipped)
btrfs-progs-4.18(已跳过)

btrfs-progs-4.17 (2018-06-14)
btrfs-progs-4.17(2018-06-14)

  • check 检查
    • many lowmem mode improvements
      许多低内存模式改进

    • properly report qgroup mismatch errors
      正确报告 qgroup 不匹配错误

    • check symlinks with append/immutable flags
      使用附加/不可变标志检查符号链接

  • fi usage 文件系统使用
    • correctly calculate allocated/unallocated for raid10
      正确计算 RAID10 的已分配/未分配部分

    • minor output updates 小的输出更新

  • mkfs
    • detect ENOSPC on thinly provisioned devices
      在薄置备设备上检测到 ENOSPC

    • fix spurious EEXIST during directory traversal
      修复目录遍历过程中的虚假 EEXIST

  • restore: fix relative path for restore target
    恢复:修复恢复目标的相对路径

  • dump-tree: print symbolic tree names for backrefs
    dump-tree:打印反向引用的符号树名称

  • send: fix regression preventing send -p with subvolumes mounted on “/”
    修复回归问题,阻止在“/”上挂载子卷时发送 -p

  • corrupt-tree: refactoring and command line updates
    corrupt-tree: 重构和命令行更新

  • build 构建
    • make it work with e2fsprogs < 1.42 again
      使其再次与 e2fsprogs < 1.42 兼容

    • restore support for autoconf 2.63
      恢复对 autoconf 2.63 的支持

    • detect if -std=gnu90 is supported
      检测是否支持 -std=gnu90

  • other 其他
    • new tests 新测试

    • cleanups 清理

btrfs-progs-4.17.1 (2018-08-06)
  • check: 检查:
    • add ability to fix wrong ram_bytes for compressed inline files
      添加修复压缩内联文件错误 ram_bytes 的能力

    • beautify progress output 美化进度输出

  • btrfstune: allow to continue uuid change after unclean interruption
    btrfstune:允许在不干净的中断后继续更改 UUID

  • several fuzz fixes: 几个模糊修复:
    • detect overlapping chunks
      检测重叠的块

    • chunk loading error handling
      块加载错误处理

    • don’t crash with unexpected root refs to extents
      不要因为意外的根引用到范围而崩溃

  • relax option parsing again to allow mixing options and non-options arguments
    再次放松选项解析,以允许混合选项和非选项参数

  • fix qgroup rescan status reporting
    修复 qgroup 重新扫描状态报告

  • build: 构建:
    • drop obsolete dir-test 删除过时的目录测试

    • new configure option to disable building of tools
      新的配置选项以禁用工具构建

    • add compatibility options --disable-static and --disable-shared
      添加兼容选项 --disable-static 和 --disable-shared

  • other: 其他:
    • cleanups and preparatory work
      清理和准备工作

    • new test images 新的测试图像

btrfs-progs-4.16 (2018-04-06)
btrfs-progs-4.16(2018-04-06)

  • libbtrfsutil - new LGPL library to wrap userspace functionality
    libbtrfsutil - 新的 LGPL 库,用于封装用户空间功能
    • several ‘btrfs’ commands converted to use it:
      几个“btrfs”命令已转换为使用它:
      • properties 属性

      • filesystem sync 文件系统同步

      • subvolume set-default/get-default/delete/show/sync
        子卷设置默认/获取默认/删除/显示/同步

    • python bindings, tests Python 绑定,测试

  • build 构建
    • use configured pkg-config path
      使用配置的 pkg-config 路径

    • CI: add python, musl/clang, built dependencies caching
      CI: 添加 Python、musl/clang、构建依赖项缓存

    • convert: build fix for e2fsprogs 1.44+
      转换:为 e2fsprogs 1.44+ 构建修复

    • don’t install library links with wrong permissions
      不要安装具有错误权限的库链接

  • fixes 修复
    • prevent incorrect use of subvol_strip_mountpoint
      防止错误使用 subvol_strip_mountpoint

    • dump-super: don’t verify csum for unknown type
      dump-super: 不验证未知类型的校验和

    • convert: fix inline extent creation condition
      转换:修复内联范围创建条件

  • check: 检查:
    • lowmem: fix false alert for ‘data extent backref lost for snapshot’
      低内存:修复“快照丢失数据范围后向引用”错误警报

    • lowmem: fix false alert for orphan inode
      lowmem:修复孤立索引节点的错误警报

    • lowmem: fix false alert for shared prealloc extents
      lowmem:修复共享预分配范围的错误警报

  • mkfs:
    • add UUID and otime to root of FS_TREE - with the uuid, snapshots will be now linked to the toplevel subvol by the parent UUID
      将 UUID 和 otime 添加到 FS_TREE 的根目录 - 使用 uuid,快照现在将链接到顶层子卷,由父 UUID 连接

    • don’t follow symlinks when calculating size
      计算大小时不要跟随符号链接

    • pre-create the UUID tree 预先创建 UUID 树

    • fix --rootdir with selinux enabled
      修复启用 SELinux 时的 --rootdir

  • dump-tree: add option to print only children nodes of a given block
    dump-tree: 添加选项,仅打印给定块的子节点

  • image: handle missing device for RAID1
    image: 处理 RAID1 缺少设备

  • other 其他
    • new tests 新测试

    • test script cleanups (quoting, helpers)
      测试脚本清理(引用,助手)

    • tool to edit superblocks 编辑超级块的工具

    • updated docs 更新文档

btrfs-progs-4.16.1 (2018-04-24)
  • remove obsolete tools: btrfs-debug-tree, btrfs-zero-log, btrfs-show-super, btrfs-calc-size
    删除过时的工具:btrfs-debug-tree、btrfs-zero-log、btrfs-show-super、btrfs-calc-size

  • sb-mod: new debugging tool to edit superblock items
    sb-mod:新的调试工具,用于编辑超级块项目

  • mkfs: detect if thin-provisioned device does not have enough space
    mkfs:检测到薄置备设备没有足够的空间

  • check: don’t try to verify checksums on metadata dump images
    检查:不要尝试验证元数据转储镜像的校验和

  • build: fail documentation build if xmlto is not found
    构建:如果找不到 xmlto,则构建文档构建失败

  • build: fix build of btrfs.static
    构建:修复 btrfs.static 的构建

btrfs-progs-4.15 (2018-02-01)

  • mkfs --rootdir reworked, does not minimize the final image but can be still done using a new option --shrink
    mkfs --rootdir 重新设计,不会最小化最终镜像,但可以使用新选项 --shrink 进行

  • fix allocation of system chunk, don’t allocate from the reserved area
    修复系统块的分配,不要从保留区域分配

  • other 其他
    • new and updated tests 新的和更新的测试

    • cleanups, refactoring 清理,重构

    • doc updates 文档更新

btrfs-progs-4.15.1 (2018-02-16)
  • build 构建
    • fix build on musl 修复在 musl 上的构建

    • support asciidoctor for doc generation
      支持 asciidoctor 用于文档生成

  • cleanups 清理工作
    • sync some code with kernel
      与内核同步一些代码

    • check: move code to own directory, split to more files
      检查:将代码移动到自己的目录,拆分为更多文件

  • tests 测试
    • more build tests in travis
      在 travis 中进行更多构建测试

    • tests now pass with asan and ubsan
      现在测试通过 asan 和 ubsan

    • testsuite can be exported and used separately
      测试套件可以导出并单独使用

btrfs-progs-4.14 (2017-11-16)

  • build: libzstd now required by default
    构建: 默认情况下现在需要 libzstd

  • check: more lowmem mode repair enhancements
    检查: 更多低内存模式修复增强

  • subvol set-default: also accept path
    subvol set-default: 也接受路径

  • prop set: compression accepts no/none, same as “”
    prop set: 压缩接受 no/none,与“”相同

  • filesystem usage: enable for filesystem on top of a seed device
    文件系统用法: 为位于种子设备之上的文件系统启用

  • rescue: new command fix-device-size
    救援:新命令 fix-device-size

  • other 其他
    • new tests 新测试

    • cleanups and refactoring 清理和重构

    • doc updates 文档更新

btrfs-progs-4.14.1 (2018-01-05)
  • dump-tree: print times of root items
    dump-tree: 打印根项目的次数

  • check: fix several lowmem mode bugs
    check: 修复几个低内存模式的错误

  • convert: fix rollback after balance
    convert: 平衡后修复回滚

  • other 其他
    • new and updated tests, enabled lowmem mode in CI
      新的和更新的测试,在 CI 中启用了低内存模式

    • docs updates 文档更新

    • fix travis CI build 修复 travis CI 构建

    • build fixes 构建修复

    • cleanups 清理工作

btrfs-progs-4.13 (2017-09-08)

  • convert: reiserfs support
    转换:reiserfs 支持

  • check: new option --force to allow check of a mounted filesystem (no repair)
    检查:新选项 --force 允许检查已挂载的文件系统(无修复)

  • mkfs: --rootdir will now copy special files
    mkfs: --rootdir 现在将复制特殊文件

  • dump-tree: minor output changes
    dump-tree: 输出微小更改

  • inspect rootid: accept file as argument
    检查 rootid: 接受文件作为参数

  • dev usage: don’t calculate slack space for missing devices
    开发使用:不要为丢失的设备计算松弛空间

  • fi du: don’t print error on EMPTY_SUBVOL (inode number 2)
    fi du:在 EMPTY_SUBVOL(inode 编号 2)上不要打印错误

  • build: 构建:
    • fixed support for sanitization features on gcc (tsan, asan, ubsan)
      修复了在 gcc 上对清理功能的支持(tsan、asan、ubsan)

    • fix PIE build 修复 PIE 构建

  • other: 其他:
    • misc cleanups and stability fixes
      杂项清理和稳定性修复

    • travis CI enhancements Travis CI 增强

    • new tests, fuzzed images 新测试,模糊图像

    • testsuite cleanups 测试套件清理

btrfs-progs-4.13.1 (2017-09-25)
  • image: speed up generating the sanitized names, do not generate unprintable chars
    图像: 加快生成经过清理的名称,不生成不可打印字符

  • completion: add missing commands, better mount point detection
    完成:添加缺失的命令,改进挂载点检测

  • restore: add zstd support; libzstd detected automatically, will be requested by default in the future, or can be configured out
    恢复:添加 zstd 支持;自动检测到 libzstd,将来将默认请求,或可配置禁用

  • other: 其他:
    • misc fixes found by sparse
      由稀疏发现的杂项修复

    • doc enhancements, ioctl manual page started
      文档增强,开始编写 ioctl 手册页

    • updated and new tests 更新和新增测试

    • build fixes 构建修复

btrfs-progs-4.13.2 (2017-10-06)
  • subvol list: 子卷列表:
    • don’t list toplevel subvolume among deleted (broken since 4.8.3)
      不要将顶层子卷列为已删除的内容(自 4.8.3 版本以来已损坏)

    • minor adjustments of uuid print format
      UUID 打印格式的微小调整

  • subvol delete: 子卷删除:
    • fix swapped behaviour of --commit-each and --commit-after
      修复--commit-each 和--commit-after 的行为交换

    • fix potentially lost sync if subvolumes are from different filesystems
      修复如果子卷来自不同文件系统可能会丢失同步的问题

  • check: add cache for metadata blocks, should improve performance
    检查: 为元数据块添加缓存,应该提高性能

  • other: 其他:
    • new tests, testsuite updates
      新测试,测试套件更新

    • doc updates 文档更新

    • cleanups 清理工作

btrfs-progs-4.13.3 (2017-10-16)
  • check: fix --force, wrong check for a mounted block device
    检查: 修复 --force,对已挂载的块设备进行错误检查

  • build: fix --with-convert parsing
    构建: 修复 --with-convert 解析

  • subvol list: don’t list TOPLEVEL
    subvol 列表: 不列出 TOPLEVEL

  • other: update tests 其他: 更新测试

btrfs-progs-4.12 (2017-07-26)

  • subvol show: new options --rootid, --uuid to show subvol by the given spec
    subvol show: 新选项 --rootid,--uuid 用于按给定规范显示子卷

  • convert: progress report fixes, found by tsan
    convert: 进度报告修复,由 tsan 发现

  • image: progress report fixes, found by tsan
    图像:由 tsan 发现的进度报告修复

  • fix infinite looping in find-root, or when looking for free extents
    修复在查找根目录或查找空闲范围时出现无限循环

  • other: 其他:
    • code refactoring 代码重构

    • docs updates 文档更新

    • build: ThreadSanitizer support
      构建:ThreadSanitizer 支持

    • tests: stricter checks for mounted filesystem
      挂载文件系统的更严格检查测试

btrfs-progs-4.12.1 (2017-08-25)
  • build: 构建:
    • fix cross-compilation 修复交叉编译

    • use gnu90 explicitly 明确使用 gnu90

  • dump-tree: more relaxed checks so -b can print block on a damaged fs
    dump-tree: 放宽检查,以便 -b 可以在损坏的文件系统上打印块

  • convert: fix the 1MB range exclusion
    转换:修复 1MB 范围排除

  • check: more dir_item hash checks
    检查:更多 dir_item 哈希检查

  • other 其他
    • added missing getopt spec for some options
      为一些选项添加了缺失的 getopt 规范

    • doc fixes 文档修复

    • cleanups 清理工作

    • test updates 测试更新

btrfs-progs-4.11 (2017-05-18)

  • receive: fix handling empty stream with -e (multi-stream)
    接收:修复处理带有 -e(多流)的空流

  • send dump: fix printing long file names
    发送转储:修复打印长文件名

  • stability fixes for: dump-super, print-tree, check
    修复稳定性问题:转储-super,打印-树,检查

  • option parser updates: global options are parsed before the subcommand name (old xfstests will fail)
    选项解析器更新:全局选项在子命令名称之前解析(旧的 xfstests 将失败)

  • new and updated tests 新的和更新的测试

  • documentation updates 文档更新

btrfs-progs-4.11.1 (2017-06-30)
  • image: restoring from multiple devices
    图像:从多个设备恢复

  • dev stats: make --check option work
    dev 统计:使 --check 选项生效

  • check: fix false alert with extent hole on a NO_HOLE filesystem
    检查:修复 NO_HOLE 文件系统上的范围空洞导致的虚假警报

  • check: lowmem mode, fix false alert in case of mixed inline and compressed extent
    检查:低内存模式,修复内联和压缩范围混合时的错误警报

  • convert: work with large filesystems (many TB)
    转换:处理大型文件系统(多 TB)

  • convert: fix overwriting of eb header flags
    转换:修复 eb 头标志的覆盖

  • convert: do not clear NODATASUM flag in inodes when run with --no-datasum
    运行时使用 --no-datasum 时,不要清除 i 节点中的 NODATASUM 标志

  • docs updates 文档更新

  • build: sync Android.mk with Makefile
    构建:将 Android.mk 与 Makefile 同步更新

  • tests: 测试:
    • new tests 新测试

    • fix 008 and 009, shell quotation mistake
      修复 008 和 009,shell 引号错误

btrfs-progs-4.10 (2017-03-08)

  • send: dump output fixes: missing newlies
    发送:转储输出修复:缺少新行

  • check: several fixes for the lowmem mode, improved error reporting
    检查:低内存模式的几个修复,改进的错误报告

  • build 构建
    • removed some library deps for binaries that not use them
      移除了一些二进制文件中未使用的库依赖项

    • ctags, cscope ctags,cscope

    • split Makefile to the autotool generated part and the rest, not needed to autogen.sh after adding a file
      将 Makefile 拆分为由 autotool 生成的部分和其余部分,在添加文件后不需要运行 autogen.sh

  • shared code: sync easy parts with kernel sources
    共享代码:与内核源代码同步简单部分

  • other 其他
    • lots of cleanups 大量清理工作

    • source file reorganization: convert, mkfs, utils
      源文件重组:转换,mkfs,实用工具

    • lots of spelling fixes in docs, other updates
      文档中大量拼写修正,其他更新

    • more tests 更多测试

btrfs-progs-4.10.1 (2017-03-17)
btrfs-progs-4.10.1(2017-03-17)
  • receive: handle subvolume in path clone
    接收:处理路径克隆中的子卷

  • convert: rollback fixed (rewrite was needed to address previous design issues)
    转换:回滚修复(需要重写以解决先前的设计问题)

  • build: fix build of 3rd party tools, missing <linux/sizes.h>
    构建:修复第三方工具的构建,缺少 <linux/sizes.h>

  • dump-tree: print log trees
    dump-tree:打印日志树

  • other 其他
    • new and updated tests 新的和更新的测试

btrfs-progs-4.10.2 (2017-03-31)
  • check: lowmem mode fix for false alert about lost backrefs
    修复:低内存模式修复关于丢失反向引用的虚假警报

  • convert: minor bugfix 转换:次要错误修复

  • library: fix build, missing symbols, added tests
    库:修复构建,缺少符号,添加测试

btrfs-progs-4.9 (2016-12-23)

  • check: many lowmem mode updates
    检查:许多低内存模式更新

  • send: use splice syscall to copy buffer from kernel
    发送:使用 splice 系统调用从内核复制缓冲区

  • receive: new option to dump the stream in textual form
    接收:以文本形式转储流的新选项

  • convert: 转换:
    • move sources to own directory
      将源代码移动到自己的目录

    • prevent accounting of blocks beyond end of the device
      防止在设备末端之外计算块

    • make it work with 64k sectorsize
      使其适用于 64k 扇区大小

  • mkfs: move sources to own directory
    mkfs: 将源代码移动到自己的目录

  • defrag: warns if directory used without -r
    defrag: 在没有使用 -r 选项的情况下使用目录时发出警告

  • dev stats:
    • new option to check stats for non-zero values
      检查非零值统计的新选项

    • add long option for -z
      为 -z 添加长选项

  • library: version bump to 0.1.2, added subvol_uuid_search2
    库: 版本升级至 0.1.2,添加 subvol_uuid_search2

  • other: 其他:
    • cleanups 清理工作

    • docs updates 文档更新

btrfs-progs-4.9.1 (2017-01-27)
  • check: 检查:
    • use correct inode number for lost+found files
      为 lost+found 文件使用正确的 inode 号码

    • lowmem mode: fix false alert on dropped leaf
      低内存模式:修复因丢失叶子而产生的虚假警报

  • size reports: negative numbers might appear in size reports during device deletes (previously in EiB units)
    大小报告: 在设备删除过程中,大小报告中可能会出现负数(以前是以 EiB 为单位)

  • mkfs: print device being trimmed
    mkfs: 打印正在被修剪的设备

  • defrag: v1 ioctl support dropped
    defrag: 放弃对 v1 ioctl 的支持

  • quota: print message before starting to wait for rescan
    配额:在开始等待重新扫描之前打印消息

  • qgroup show: new option to sync before printing the stats
    qgroup show:在打印统计信息之前同步的新选项

  • other: 其他:
    • corrupt-block enhancements
      损坏块增强

    • backtrace and co. cleanups
      回溯和其他清理工作

    • doc fixes 文档修复

btrfs-progs-4.8 (2016-10-05)

  • error handling improvements all over the place
    各处的错误处理改进

  • new fuzzed images, test updates
    新的模糊图像,测试更新

  • doc fixups 文档修正

  • minor cleanups and improvements
    小的清理和改进

  • kernel library helpers moved to own directory
    内核库助手移动到自己的目录

  • qgroup: fix regression leading to incorrect status after check, introduced in 4.7
    qgroup: 修复 4.7 版本引入的检查后状态不正确的回归问题

btrfs-progs-4.8.1 (2016-10-12)
  • 32bit builds fixed 修复了 32 位构建问题

  • build without backtrace support fixed
    修复了不带回溯支持的构建

btrfs-progs-4.8.2 (2016-10-26)
  • convert: also convert file attributes
    转换:还转换文件属性

  • convert: fix wrong tree block alignment for unaligned block group
    修复未对齐块组的错误树块对齐

  • check: quota verify fixes, handle reloc tree
    检查:配额验证修复,处理重定位树

  • build: add stub for FIEMAP_EXTENT_SHARED, compiles on ancient kernels
    构建:为 FIEMAP_EXTENT_SHARED 添加存根,在古老的内核上编译

  • build: add stub for BUILD_ASSERT when ioctl.h is included
    构建:在包含 ioctl.h 时为 BUILD_ASSERT 添加存根

  • dump-tree: don’t crash on unrecognized tree id for -t
    dump-tree:对于 -t 的未识别树 id 不要崩溃

  • tests: 测试:
    • add more ioctl tests 添加更多 ioctl 测试

    • convert: more symlink tests, attribute tests
      转换:更多符号链接测试,属性测试

    • quota verify for reloc tree
      用于重新定位树的配额验证

  • other cleanups 其他清理工作

btrfs-progs-4.8.3 (2016-11-11)
  • check: 检查:
    • support for clearing space cache (v1)
      清除空间缓存的支持(v1)

    • size reduction of inode backref structure
      减小索引后向引用结构的大小

  • send: 发送:
    • fix handling of multiple snapshots (-p and -c options)
      修复处理多个快照的问题(-p 和 -c 选项)

    • transfer buffer increased (should reduce number of context switches)
      增加传输缓冲区大小(应减少上下文切换的次数)

    • reuse existing file for output (-f), eg. when root cannot create files (NFS)
      重用现有文件作为输出(-f),例如当根用户无法创建文件时(NFS)

  • dump-tree: 转储树:
    • print missing items for various structures
      打印各种结构的缺失项目

    • new: dev stats, balance status item
      新: 开发统计,平衡状态项目

    • sync key names with kernel (the persistent items)
      与内核同步密钥名称(持久项目)

  • subvol show: now able to print the toplevel subvolume -- the creation time might be wrong though
    subvol show: 现在能够打印顶层子卷 -- 创建时间可能不正确

  • mkfs:
    • store the creation time of toplevel root inode
      存储顶级根 inode 的创建时间

    • print UUID in the summary
      在摘要中打印 UUID

  • build: travis CI for devel
    构建:为开发构建 travis CI

  • other: 其他:
    • lots of cleanups and refactoring
      大量清理和重构

    • switched to on-stack path structure
      切换到堆栈路径结构

    • fixes from coverity, asan, ubsan
      来自 Coverity、ASAN、UBSAN 的修复

    • new tests 新测试

    • updates in testing infrastructure
      测试基础设施更新

    • fixed convert test 005 固定转换测试 005

btrfs-progs-4.8.4 (2016-11-25)
  • check: support for clearing space cache v2 (free-space-tree)
    检查:支持清除空间缓存 v2(free-space-tree)

  • send: 发送:
    • more sanity checks (with tests), cleanups
      更多的健全性检查(带有测试),清理工作

    • fix for fstests/btrfs/038 and btrfs/117 failures
      修复 fstests/btrfs/038 和 btrfs/117 失败

  • build: 构建:
    • fix compilation of standalone ioctl.h, pull NULL definition
      修复独立 ioctl.h 编译问题,引入 NULL 定义

    • fix library link errors introduced in 4.8.3
      修复在 4.8.3 中引入的库链接错误

  • tests: 测试:
    • add more fuzzed images from bugzilla
      从 bugzilla 添加更多模糊图像

    • add bogus send stream checks
      添加虚假发送流检查

    • fixups and enhancements for CI environment builds
      修复和增强 CI 环境构建

    • misc refinements and updates of testing framework
      测试框架的其他细化和更新

  • other: 其他:
    • move sources for btrfs-image to own directory
      将 btrfs-image 的源移动到自己的目录

    • deprecated and not build by default: btrfs-calc-size, btrfs-show-super
      已弃用且默认情况下不构建: btrfs-calc-size, btrfs-show-super

    • docs updates 文档更新

btrfs-progs-4.8.5 (2016-11-30)
  • receive: fix detection of end of stream (error reported even for valid streams)
    接收:修复流结束的检测(即使对于有效流也报告错误)

  • other: 其他:
    • added test for the receive bug
      为接收错误添加测试

    • fix linking of library-test
      修复库测试的链接

btrfs-progs-4.7 (2016-07-29)

  • convert: fix creating discontig extents
    转换:修复创建不连续的范围

  • check: speed up traversing heavily reflinked extents within a file
    检查:加快在文件中遍历大量重定向范围

  • check: verify qgroups of higher levels
    检查:验证更高级别的 qgroups

  • check: repair can now fix wrong qgroup numbers
    检查:修复现在可以修复错误的 qgroup 数字

  • balance: new option to run in the background
    平衡:新选项可以在后台运行

  • defrag: default extent target size changed to 32MiB
    碎片整理:默认的范围目标大小更改为 32MiB

  • du: silently skip non-btrfs dirs/files
    du:静默跳过非 btrfs 目录/文件

  • documentation updates: btrfs(5), btrfs(8), balance, subvolume, scrub, filesystem, convert
    文档更新:btrfs(5),btrfs(8),平衡,子卷,扫描,文件系统,转换

  • bugfixes: 错误修复:
    • unaligned access (reported for sparc64) in raid56 parity calculations
      raid56 奇偶校验计算中的未对齐访问(sparc64 报告)

    • use /bin/bash 使用/bin/bash

    • other stability fixes and cleanups
      其他稳定性修复和清理工作

  • more tests 更多测试

btrfs-progs-4.7.1 (2016-08-25)
btrfs-progs-4.7.1(2016-08-25)
  • check: 检查:
    • new optional mode: optimized for low memory usage (memory/io tradeoff)
      新的可选模式:针对低内存使用进行优化(内存/IO 折衷)

    • --mode=lowmem, not default, still considered experimental
      --mode=lowmem,非默认选项,仍被视为实验性的

    • does not work with --repair yet
      目前尚不支持与 --repair 一起使用

  • convert: regression fix, ext2_subvol/image rw permissions
    转换:回归修复,ext2_subvol/image rw 权限

  • mkfs/convert: mkfs/转换:
    • two-staged creation, partially created filesystem will not be recognized
      两阶段创建,部分创建的文件系统将不被识别

    • improved error handling (fewer BUG_ONs)
      改进的错误处理(减少 BUG_ON)

  • convert: preparation for more filesystems to convert from
    转换:为更多文件系统的转换做准备

  • documentation updates: quota, qgroup
    文档更新:配额,qgroup

  • other 其他
    • message updates 消息更新

    • more tests 更多测试

    • more build options, enhanced debugging
      更多构建选项,增强调试

btrfs-progs-4.7.2 (2016-09-05)
btrfs-progs-4.7.2(2016-09-05)
  • check: 检查:
    • urgent fix: false report of backref mismatches; do not --repair last unaffected version 4.6.1 (code reverted to that state)
      紧急修复:虚假报告后向引用不匹配;不要 --repair 最后一个未受影响的版本 4.6.1(代码恢复到该状态)

  • fuzzing and fixes 模糊测试和修复
    • added more sanity checks for various structures
      为各种结构添加了更多的健全性检查

    • testing images added 测试图像已添加

  • build: udev compatibility: do not install .rules on version < 190
    构建:udev 兼容性:不要在版本<190 上安装.rules

  • other: 其他:
    • dump-super: do not crash on garbage value in csum_type
      dump-super: 在 csum_type 中的垃圾值不会导致崩溃

    • minor improvements in messages and help strings
      消息和帮助字符串的微小改进

  • documentation: 文档:
    • filesystem features 文件系统功能

btrfs-progs-4.7.3 (2016-09-21)
  • fixed free space tree compat status
    修复了空闲空间树的兼容状态

  • check: low-mem mode: handle partially dropped snapshots
    检查:低内存模式:处理部分丢弃的快照

  • dump-super: consolidate options for superblock copy
    dump-super:合并超级块复制的选项

  • tree-stats: check mount status
    tree-stats:检查挂载状态

  • subvol delete: handle verbosity option
    子卷删除:处理冗长选项

  • defrag: print correct error string
    碎片整理:打印正确的错误字符串

  • mkfs: fix reading rotational status
    mkfs:修复读取旋转状态

  • other: 其他:
    • UBSAN build option UBSAN 构建选项

    • documentation updates 文档更新

    • enhanced tests: convert, fuzzed images, more tools to run on fuzzed images
      增强测试:转换,模糊图像,更多工具运行在模糊图像上

btrfs-progs-4.6 (2016-06-10)
btrfs-progs-4.6(2016-06-10)

  • convert - major rewrite:
    转换 - 主要重写:
    • fix a long-standing bug that led to mixing data blocks into metadata block groups
      修复长期存在的错误,导致数据块混入元数据块组

    • the workaround was to do full balance after conversion, which was recommended practice anyway
      解决方法是在转换后进行完整平衡,这本来就是推荐的做法

    • explicitly set the lowest supported version of e2fstools to 1.41
      明确设置 e2fstools 的最低支持版本为 1.41

  • provide and install udev rules file that addresses problems with device mapper devices, renames after removal
    提供并安装解决设备映射器设备问题的 udev 规则文件,在移除后重命名

  • send: new option: quiet 发送:新选项:安静

  • dev usage: report slack space (device size minus filesystem area on the dev)
    dev 使用情况:报告松弛空间(设备大小减去设备上的文件系统区域)

  • image: support DUP 图像:支持 DUP

  • build: short options to enable debugging builds
    构建:简短选项以启用调试构建

  • other: 其他:
    • code cleanups 代码清理

    • build fixes 构建修复

    • more tests and other enhancements
      更多测试和其他增强功能

btrfs-progs-4.6.1 (2016-06-24)
  • filesystem resize: negative resize argument accepted again
    文件系统调整大小:再次接受负调整参数

  • qgroup rescan: fix skipping when rescan is in progress
    qgroup 重新扫描:修复在重新扫描进行中时跳过的问题

  • mkfs: initialize stripesize to correct value
    mkfs:将条带大小初始化为正确的值

  • testsuite updates, mostly convert tests
    测试套件更新,主要是转换测试

  • documentation updates 文档更新
    • btrfs-device, btrfs-restore manual pages enhanced
      btrfs-device,btrfs-restore 手册增强

    • misc fixups 杂项修复

btrfs-progs-4.5 (2016-03-20)
btrfs-progs-4.5(2016-03-20) 

New/moved commands: 新增/移动的命令:
  • btrfs-show-super -> btrfs inspect-internal dump-super

  • btrfs-debug-tree -> btrfs inspect-internal dump-tree

New commands: 新命令:
  • btrfs filesystem du - calculate disk usage, including shared extents
    btrfs 文件系统 du - 计算磁盘使用情况,包括共享范围

Enhancements: 增强功能:
  • device delete - delete by id (needs kernel support, not merged to 4.6)
    设备删除 - 按 ID 删除(需要内核支持,未合并到 4.6 版本)

  • check - new option to specify chunk root
    检查 - 新选项,用于指定块根

  • debug-tree/dump-tree - option -t understands human readable name of the tree (along numerical ids)
    调试树/转储树 - 选项 -t 理解树的人类可读名称(以及数字 ID)

  • btrfs-debugfs - can dump block group information
    btrfs-debugfs - 可以转储块组信息

Bugfixes: Bug 修复:
  • all commands should accept the option separator “--”
    所有命令应接受选项分隔符“--”

  • several fixes in device scan
    设备扫描中的几个修复

  • restore works on filesystems with sectorsize > 4k
    恢复适用于扇区大小大于 4k 的文件系统

  • debug-tree/dump-tree - print compression type as string
    debug-tree/dump-tree - 将压缩类型打印为字符串

  • subvol sync: fix crash, memory corruption
    subvol 同步:修复崩溃,内存损坏

  • argument parsing fixes: subvol get-default, qgroup create/destroy/ assign, inspect subvolid-resolve
    参数解析修复:subvol get-default,qgroup create/destroy/assign,检查 subvolid-resolve

  • check for block device or regular file in several commands
    在几个命令中检查块设备或普通文件

Other: 其他:
  • documentation updates 文档更新

  • manual pages for the moved tools now point to btrfs-filesystem
    已移动工具的手册现在指向 btrfs-文件系统

  • testsuite updates 测试套件更新

btrfs-progs-4.5.1 (2016-03-31)
  • mkfs: allow DUP on multi-device filesystems
    mkfs:允许在多设备文件系统上进行 DUP

  • bugfixes: build fixes, assorted other fixes
    修复错误:构建修复,各种其他修复

btrfs-progs-4.5.2 (2016-05-02)
btrfs-progs-4.5.2(2016-05-02)
  • new/moved command: btrfs-calc-stats -> btrfs inspect tree-stats
    新/移动命令:btrfs-calc-stats -> btrfs inspect tree-stats

  • check: fix false alert for metadata blocks crossing stripe boundary
    检查:修复元数据块跨条带边界的错误警报

  • check: catch when qgroup numbers mismatch
    检查:捕获 qgroup 数字不匹配的情况

  • check: detect running quota rescan and report mismatches
    检查:检测运行配额重新扫描并报告不匹配情况

  • balance start: add safety delay before doing a full balance
    平衡开始:在执行完整平衡之前添加安全延迟

  • filesystem sync: is now silent
    文件系统同步:现在是静默的

  • filesystem show: don’t miss filesystems with partially matching uuids
    显示文件系统:不要错过部分匹配 UUID 的文件系统

  • dev ready: accept only one argument for device
    dev 准备就绪:仅接受一个设备参数

  • dev stats: print “devid:N” for a missing device instead of “(null)”
    dev 统计:对于缺失的设备,打印“devid:N”而不是“(null)”

  • other: 其他:
    • lowest supported version of e2fsprogs is 1.41
      e2fsprogs 的最低支持版本是 1.41

    • minor cleanups, test updates
      小的清理,测试更新

btrfs-progs-4.5.3 (2016-05-11)
  • ioctl: fix unaligned access in buffer from TREE_SEARCH; might cause SIGBUS on architectures that do not support unaligned access and do not performa any fixups
    ioctl: 修复 TREE_SEARCH 中缓冲区的未对齐访问;可能导致在不支持未对齐访问且不执行任何修复的架构上发生 SIGBUS

  • improved validation checks of superblock and chunk-related structures
    改进了超级块和与块相关的结构的验证检查

  • subvolume sync: fix handling of -s option
    子卷同步:修复 -s 选项的处理

  • balance: adjust timing of safety delay countdown with --full-balance
    平衡:使用--full-balance 调整安全延迟倒计时的时间

  • rescue super-recover: fix reversed condition check
    救援超级恢复:修复了条件检查的反向

  • check: fix bytes_used accounting
    检查:修复了 bytes_used 的计数

  • documentation updates: mount options, scrub, send, receive, select-super, check, mkfs
    文档更新:挂载选项,scrub,send,receive,select-super,check,mkfs

  • testing: new fuzzed images, for superblock and chunks
    测试:新的模糊图像,用于超级块和块

btrfs-progs-4.4 (2016-01-18)
btrfs-progs-4.4(2016-01-18) 

User visible changes: 用户可见的更改:
  • mkfs.btrfs --data dup

People asked about duplicating data on a single device for a long time. There are no technical obstacles preventing that, so it got enabled with a warning about potential dangers when the device will not do the duplicated copies. See mkfs.btrfs section DUP PROFILES ON A SINGLE DEVICE.
长期以来,人们一直在询问如何在单个设备上复制数据。没有技术障碍阻止这样做,因此在设备不执行复制副本时,启用了一个警告,提醒潜在的危险。请参阅 mkfs.btrfs 章节 DUP PROFILES ON A SINGLE DEVICE。

  • support balance filters added/enhanced in linux 4.4
    在 Linux 4.4 中添加/增强了支持平衡过滤器
    • usage=min..max -- enhanced to take range
      usage=min..max -- 增强以接受范围

    • stripes=min..max -- new, filter by stripes for raid0/10/5/6
      stripes=min..max -- 新功能,按条纹过滤 RAID0/10/5/6

    • limit=min..max -- enhanced to take range
      限制=min..max -- 增强以接受范围

Note: due to backward compatibility, the range maximum for ‘usage’ is not inclusive as for the others, to keep the same behaviour as usage=N .
注意: 由于向后兼容性,'usage' 的范围最大值不包括在内,以保持与 usage=N 相同的行为。

  • manual pages enhanced (btrfs, mkfs, mount, filesystem, balance)
    手册页面增强(btrfs,mkfs,mount,filesystem,balance)

  • error messages updates, rewordings -- some fstests may break due to that
    错误消息更新,重新措辞 -- 一些 fstests 可能会因此而中断

  • added support for free-space-tree implementation of space cache -- this requires kernel 4.5 and is not recommended for non-developers yet
    增加了对空闲空间树实现空间缓存的支持 -- 这需要内核 4.5,并且目前不建议非开发人员使用

  • btrfs filesystem usage works with mixed blockgroups
    btrfs 文件系统使用适用于混合块组

Other: 其他:
  • installation to /usr/local -- this has unintentionally changed during conversion to autotools in 3.19
    安装到 /usr/local -- 这在 3.19 版本转换为 autotools 时意外更改了

  • check: fix a false alert where extent record has wrong metadata flag
    检查: 修复一个错误警报,其中范围记录具有错误的元数据标志

  • improved stability on fuzzed/crafted images when reading sys array in superblock
    在读取超级块中的 sys 数组时,对模糊/制作的图像的稳定性得到了改善

  • build: the ‘ar’ tool is properly detected during cross-compilation
    构建: 在交叉编译期间正确检测到‘ar’工具

  • debug-tree: option -t understands ids for tree root and chunk tree
    debug-tree: 选项 -t 理解树根和块树的 id

  • preparatory work for btrfs-convert rewrite
    btrfs-convert 重写的准备工作

  • sparse, gcc warning fixes
    稀疏,gcc 警告修复

  • more memory allocation failure handling
    更多内存分配失败处理

  • cleanups 清理工作

  • more tests 更多测试

Bugfixes: 修复错误:
  • chunk recovery: fix floating point exception
    块恢复:修复浮点异常

  • chunk recovery: endianity bugfix during rebuild
    块恢复:在重建过程中修复字节序错误

  • mkfs with 64K pages and nodesize reported superblock checksum mismatch
    使用 64K 页面和节点大小报告超级块校验和不匹配

  • check: properly reset nlink of multi-linked file
    检查:正确重置多链接文件的 nlink

btrfs-progs-4.4.1 (2016-02-26)
btrfs-progs-4.4.1(2016-02-26)
  • find-root: don’t skip the first chunk
    find-root:不要跳过第一个块

  • free-space-tree compat bits fix
    空间树兼容位修复

  • build: target symlinks 构建:目标符号链接

  • documentation updates 文档更新

  • test updates 测试更新

btrfs-progs-4.3 (2015-11-06)

  • mkfs
    • mixed mode is not forced for filesystems smaller than 1GiB
      文件系统小于 1GiB 时不强制使用混合模式

    • mixed mode broken with mismatching sectorsize and nodesize, fixed
      节点大小和扇区大小不匹配时混合模式出现故障,已修复

    • print version info earlier
      提前打印版本信息

    • print devices sorted by id
      按 id 排序打印设备

    • do not truncate target image with --rootsize
      不要使用 --rootsize 截断目标镜像

  • filesystem usage: 文件系统使用情况:
    • don’t print global block reserve
      不要打印全局块保留

    • print device id 打印设备 ID

    • minor output tuning 次要输出调整

    • other cleanups 其他清理工作

  • calc-size: 计算大小:
    • div-by-zero fix on an empty filesystem
      在空文件系统上修复除零错误

    • fix crash 修复崩溃

  • bugfixes: 错误修复:
    • more superblock sanity checks
      更多超级块完整性检查

    • consistently round size of all devices down to sectorsize
      将所有设备的大小一致地舍入到扇区大小

    • misc leak fixes 杂项泄漏修复

    • convert: don’t try to rollback with a half-deleted ext2_saved subvolume
      转换:不要尝试使用半删除的 ext2_saved 子卷回滚

  • other: 其他:
    • check: add progress indicator
      检查: 添加进度指示器

    • scrub: enhanced error message
      擦除: 增强错误消息

    • show-super: read superblock from a given offset
      从给定偏移量读取超级块

    • add README 添加自述文件

    • docs: update manual page for mkfs.btrfs, btrfstune, balance, convert and inspect-internal
      文档:更新 mkfs.btrfs、btrfstune、balance、convert 和 inspect-internal 的手册页面

    • build: optional build with more warnings (W=…)
      构建:可选构建,具有更多警告(W=…)

    • build: better support for static checkers
      构建:更好地支持静态检查器

    • build: html output of documentation
      构建:文档的 HTML 输出

    • pretty-print: last_snapshot for root_item
      美化打印: root_item 的 last_snapshot

    • pretty-print: stripe dev uuid
      美化打印: stripe dev uuid

    • error reporting wrappers, introduced and example use
      错误报告包装器,介绍和示例用法

    • refactor open_file_or_dir
      重构 open_file_or_dir

    • other docs and help updates
      其他文档和帮助更新

  • testing: 测试:
    • test for nodes crossing stripes
      跨越条纹的节点测试

    • test for broken ‘subvolume sync’
      破损的“子卷同步”测试

    • basic tests for mkfs, raid option combinations
      mkfs、raid 选项组合的基本测试

    • basic tests for fuzzed images (check)
      模糊图像的基本测试(检查)

    • command instrumentation (eg valgrind)
      命令插装(例如 valgrind)

    • print commands if requested
      如果需要,打印命令

    • add README for tests 为测试添加自述文件

btrfs-progs-4.3.1 (2015-11-16)
  • fixes 修复
    • device delete: recognize ‘missing’ again
      设备删除:再次识别“丢失”

    • mkfs: long names are not trimmed when doing ssd check
      mkfs:在进行 ssd 检查时,长名称未被修剪

    • support partitioned loop devices
      支持分区循环设备

  • other 其他
    • replace several mallocs with on-stack variables
      用栈变量替换几个 malloc

    • more memory allocation failure handling
      更多内存分配失败处理

    • add tests for bugs fixed
      为修复的错误添加测试

    • cmd-device: switch to new message printing helpers
      cmd-device: 切换到新的消息打印助手

    • minor code cleanups 小的代码清理

btrfs-progs-4.2 (2015-09-03)

  • enhancements: 增强功能:
    • mkfs: do not create extra single chunks on multiple devices
      mkfs: 在多个设备上不创建额外的单个块

    • resize: try to guess the minimal size, ‘inspect min-dev-size’
      调整大小:尝试猜测最小尺寸,“检查最小开发尺寸”

    • qgroup assign: add option to schedule rescan
      qgroup 分配:添加选项以安排重新扫描

    • chunk-recover: be more verbose about the scanning process
      chunk-recover:更详细地描述扫描过程

  • fixes: 修复:
    • check: 检查:
      • find stripes crossing stripe boundary -- created by convert
        查找跨越条纹边界的条纹 -- 由 convert 创建

      • print correct range for file hole when there are no extents and learn how to fix it
        打印文件空洞的正确范围,当没有范围时学习如何修复它

    • replace: more sanity checks
      替换:更多的健全性检查

    • convert: concurrency fixes related to reporting progress
      转换:与报告进度相关的并发性修复

    • find-root: option -a will not skip the current root anymore
      find-root: 选项 -a 将不再跳过当前根目录

    • subvol list: fix occasional crash
      subvol list: 修复偶发崩溃

    • do not create stripes crossing stripe boundary
      不要创建跨越条带边界的条带

  • build: 构建:
    • fixes for musl libc musl libc 的修复

    • preliminary support for android (not working yet, more code changes needed)
      Android 的初步支持(尚未工作,需要更多代码更改)

    • new EXTRA_CFLAGS and EXTRA_LDFLAGS
      新的 EXTRA_CFLAGS 和 EXTRA_LDFLAGS

  • other: 其他:
    • lots of cleanups 大量的清理工作

    • tests: lots of updates, new tests, framework improvements
      测试:大量更新,新测试,框架改进

    • documentation updates 文档更新

    • debugging: print-tree shows stripe length
      调试:print-tree 显示条带长度

btrfs-progs-4.2.1 (2015-09-20)
  • fix an off-by-one error in cross-stripe boundary check
    修复跨条带边界检查中的一个 off-by-one 错误
    • if nodesize was 64k, any metadata block was reported as crossing, this leads to mkfs failure for example due to “no free blocks found”
      如果节点大小为 64k,则任何元数据块都被报告为越界,这会导致例如由于“未找到空闲块”而导致 mkfs 失败

    • for other nodesizes, if the end of the metadata block was 64k aligned, it was incorrectly reported by fsck
      对于其他节点大小,如果元数据块的末尾是 64k 对齐的,则 fsck 会错误地报告

  • convert: don’t write uninitialized data to image
    转换:不要将未初始化的数据写入镜像

  • image: 镜像:
    • don’t loop with option -t0
      不要使用选项 -t0 进行循环

    • don’t create threads if compression is not requested
      如果未请求压缩,则不要创建线程

  • other: minor cleanups 其他:进行轻微清理

btrfs-progs-4.2.2 (2015-10-05)
  • filesystem label: use fallback if the label ioctl is not available
    文件系统标签:如果标签 ioctl 不可用,则使用回退

  • convert: check nodesize constraints against commandline features (-O)
    转换:根据命令行特性 (-O) 检查节点大小约束

  • scrub: report status ‘running’ until all devices are finished
    在所有设备完成之前,报告状态为“运行”

  • device scanning might crash in some scenarios
    在某些情况下,设备扫描可能会崩溃

  • filesystem usage: print summary for non-root users
    文件系统使用情况:为非根用户打印摘要

btrfs-progs-4.2.3 (2015-10-19)
  • subvol sync: make it actually work again: it’s been broken since 4.1.2, due to a reversed condition it returned immediately instead of waiting
    subvol sync: 使其再次正常工作:自 4.1.2 以来一直存在问题,由于条件反转,它立即返回而不是等待

  • scanning: do not scan already discovered filesystems (minor optimization)
    扫描:不要扫描已发现的文件系统(轻微优化)

  • convert: better error message in case the filesystem is not finalized
    转换:在文件系统未完成时提供更好的错误消息

  • restore: off-by-one symlink path check fix
    恢复:修复了符号链接路径检查的偏移一个问题

btrfs-progs-4.1 (2015-06-22)
btrfs-progs-4.1(2015-06-22) 

Bugfixes: 修复错误:
  • fsck.btrfs: no bash-isms fsck.btrfs: 没有 bash-isms

  • bugzilla 97171: invalid memory access (with tests)
    bugzilla 97171: 无效的内存访问(带测试)

  • receive: 接收:
    • cloning works with --chroot
      克隆工作与 --chroot

    • capabilities not lost 功能不会丢失

  • mkfs: do not try to register bare file images
    mkfs:不要尝试注册裸文件映像

  • option --help accepted by the standalone utilities
    选项--help 被独立实用程序接受

Enhancements: 增强功能:
  • corrupt block: ability to remove csums
    损坏块: 能够移除校验和

  • mkfs:
    • warn if metadata redundancy is lower than for data
      如果元数据冗余性低于数据冗余性,则发出警告

    • options to make the output quiet (only errors)
      使输出保持安静的选项(仅显示错误)

    • mixed case names of raid profiles accepted
      接受混合大小写的 RAID 配置文件名

    • rework the output: 重新设计输出:

    • more comprehensive, ‘key: value’ format
      更全面,'键: 值' 格式

  • subvol:
    • show: 展示:
      • print received uuid 打印收到的 UUID

      • update the output 更新输出

      • new options to specify size units
        新选项以指定大小单位

    • sync: grab all deleted ids and print them as they’re removed, previous implementation only checked if there are any to be deleted - change in command semantics
      同步:抓取所有已删除的 ID 并在删除时打印它们,之前的实现仅检查是否有要删除的内容 - 更改命令语义

  • scrub: print timestamps in days HMS format
    擦除:以天时分秒格式打印时间戳

  • receive: 接收:
    • can specify mount point, do not rely on /proc
      可以指定挂载点,不要依赖于 /proc

    • can work inside subvolumes
      可以在子卷内工作

  • send: new option to send stream without data (NO_FILE_DATA)
    send: 新选项,用于发送不带数据的流(NO_FILE_DATA)

  • convert: specify incompat features on the new fs
    转换:在新的文件系统上指定不兼容的特性

  • qgroup: qgroup:
    • show: distinguish no limits and 0 limit value
      显示:区分无限制和 0 限制值

    • limit: ability to clear the limit
      限制:清除限制的能力

  • help for ‘btrfs’ is shorter, 1st level command overview
    “btrfs” 的帮助更简短,第一级命令概述

  • debug tree: print key names according to their C name
    调试树:根据它们的 C 名称打印键名

New: 新的
  • rescue zero-log 救援零日志

  • btrfsune:
    • rewrite uuid on a filesystem image
      在文件系统映像上重写 UUID

    • new option to turn on NO_HOLES incompat feature
      打开 NO_HOLES 不兼容特性的新选项

Deprecated: 已弃用:
  • standalone btrfs-zero-log
    独立的 btrfs-zero-log

Other: 其他:
  • testing framework updates
    测试框架更新
    • uuid rewrite test UUID 重写测试

    • btrfstune feature setting test
      BtrfsTune 功能设置测试

    • zero-log tests 零日志测试

    • more testing image formats
      更多测试图像格式

  • manual page updates 手动页面更新

  • ioctl.h synced with current kernel uapi version
    ioctl.h 与当前内核 uapi 版本同步

  • convert: preparatory works for more filesystems (reiserfs pending)
    转换:更多文件系统的准备工作(reiserfs 待定)

  • use static buffers for path handling where possible
    在可能的情况下使用静态缓冲区处理路径

  • add new helpers for send uilts that check memory allocations, switch all users, deprecate old helpers
    添加新的辅助函数以检查内存分配的 send uilts,切换所有用户,弃用旧的辅助函数

  • Makefile: fix build dependency generation
    修复构建依赖生成的 Makefile

  • map-logical: make it work again
    map-logical: 使其再次工作

btrfs-progs-4.1.1 (2015-07-10) -- Do not use this version!
btrfs-progs-4.1.1 (2015-07-10) -- 不要使用这个版本!
Bugfixes:
  • defrag: threshold overflow fix
    defrag: 阈值溢出修复

  • fsck:
    • check if items fit into the leaf space
      检查项目是否适合叶空间

    • fix wrong nbytes 修复错误的字节数

  • mkfs:
    • create only desired block groups for single device
      仅为单个设备创建所需的块组

    • preparatory work for fix on multiple devices
      为多个设备修复做准备工作

Enhancements: 增强功能:
  • new alias for ‘device delete’: ‘device remove’
    ‘device delete’ 的新别名:‘device remove’

Other: 其他:
  • fix compilation on old gcc (4.3)
    修复在旧版本 gcc(4.3)上的编译

  • documentation updates 文档更新

  • debug-tree: print nbytes 调试树:打印字节数

  • test: image for corrupted nbytes
    测试:损坏字节数的图像

  • corrupt-block: let it kill nbytes
    损坏块:让它杀死字节

btrfs-progs-4.1.2 (2015-07-14)
btrfs-progs-4.1.2(2015-07-14)
  • urgent bugfix: mkfs creates invalid filesystem, must be recreated
    紧急错误修复:mkfs 创建无效的文件系统,必须重新创建

btrfs-progs-4.0 (2015-04-29)

  • resize: 调整大小:
    • don’t accept file as an argument (it’s confusing)
      不要将文件作为参数接受(这很令人困惑)

    • print better error message in case of an error
      在出现错误时打印更好的错误消息

  • restore: optionally restore metadata (time, mode, uid/gid)
    恢复:可选择恢复元数据(时间,模式,uid/gid)

  • receive: optionally enforce chroot
    接收:可选择强制执行 chroot

  • new rescue subcommand ‘zero-log’, same as btrfs-zero-log, but now also part of the main utility
    新的 rescue 子命令 'zero-log',与 btrfs-zero-log 相同,但现在也是主要实用程序的一部分

  • check: 检查:
    • free space checks match kernel, fixes incorrect reports
      空闲空间检查与内核匹配,修复不正确的报告

  • convert: fix setting of checksum bit if --no-datasum is used
    如果使用 --no-datasum,则修复校验位的设置

  • fsck.btrfs: don’t print messages
    fsck.btrfs: 不打印消息

  • fix quota rescan on PPC64 (mangled ioctl number)
    修复 PPC64 上的配额重新扫描(损坏的 ioctl 编号)

  • test updates 测试更新

  • documentation: files renamed to .asciidoc, misc fixups
    文档:文件重命名为 .asciidoc,杂项修复

btrfs-progs-4.0.1 (2015-05-20)
btrfs-progs-4.0.1(2015-05-20)
  • restore: 恢复:
    • can restore symlinks, new option --symlinks
      可以恢复符号链接,新增选项 --symlinks

    • long option variants added
      添加了长选项变体

  • convert: dropped dependency on acl.h header and libacl is not required for build
    转换:删除了对 acl.h 头文件的依赖,构建时不需要 libacl

  • fix for ‘check’ crash 修复“check”崩溃问题

  • device remove error message fix
    设备移除错误消息修复

  • preparatory works for fsid change
    fsid 更改的准备工作

btrfs-progs-3.x (2015-03-25)

btrfs-progs-3.19 (2015-03-11)

  • build converted to autotools
    构建转换为 autotools

  • btrfs-image
    • restore can now run in parallel threads
      恢复现在可以并行运行

    • fixed restore of multiple image from multiple devices onto a single dev
      修复了从多个设备恢复多个图像到单个设备的问题

    • introduced metadump v2 引入了 metadump v2

  • check: make --init-csum-tree and --init-extent-tree work together
    检查:使 --init-csum-tree 和 --init-extent-tree 一起工作

  • find-new: option to search through all metadata even if a root was already found
    查找新的:选项,即使已经找到根,也可以搜索所有元数据

  • convert: show progress by default, can be turned off
    转换:默认显示进度,可以关闭

  • corrupt-block: option to work on a specific root
    损坏块:选项,用于处理特定根

  • bash completion script for all subcommands
    为所有子命令提供的 Bash 完成脚本

btrfs-progs-3.19.1 (2015-03-25)
  • convert: 转换:
    • new option to specify metadata block size
      指定元数据块大小的新选项

    • --no-progress actually works
      --no-progress 实际上起作用

  • restore: properly handle the page boundary corner case
    恢复:正确处理页面边界的特殊情况

  • build fixes: 修复构建问题
    • missing macro from public header, BTRFS_BUILD_VERSION
      公共头文件中缺少宏 BTRFS_BUILD_VERSION

    • wrong handling of --enable-convert
      --enable-convert 参数处理错误

  • filesystem usage: reports correct space for degraded mounts
    文件系统使用情况:报告降级挂载的正确空间

  • other: 其他
    • mkfs: help string updates
      mkfs:帮助字符串更新

    • completion: added ‘usage’ subcommands
      完成:添加了“使用”子命令

    • cleanups in qgroup code, preparatory work
      在 qgroup 代码中进行清理,准备工作

btrfs-progs-3.18 (2014-12-30)
btrfs-progs-3.18(2014-12-30)

  • mkfs - skinny-metadata feature is now on by default, first introduced in kernel 3.10
    mkfs - skinny-metadata 功能现在默认启用,首次引入于内核 3.10

  • filesystem usage - give an overview of fs usage in a way that’s more comprehensible than existing ‘filesystem df’
    文件系统使用情况 - 以比现有的“文件系统 df”更易理解的方式概述文件系统的使用情况

  • device usage - more detailed information about per-device allocations
    设备使用情况 - 提供有关每个设备分配的更详细信息

  • check 检查
    • option to set a different tree root byte number
      选项以设置不同的树根字节编号

    • ability to link lost files to lost+found, caused by a recent kernel bug
      能够将丢失的文件链接到 lost+found,这是由最近的内核错误引起的

    • repair of severely corrupted fs (use with care)
      严重损坏的文件系统修复(谨慎使用)

  • convert - option to show progress
    转换 - 选项以显示进度

  • subvol create - print the commit mode inline, print the global mode only if --verbose
    subvol create - 在行内打印提交模式,仅在 --verbose 时打印全局模式

  • other updates: musl-libc support, coverity bugfixes, new test images, documentation
    其他更新:musl-libc 支持,coverity 错误修复,新的测试镜像,文档

btrfs-progs-3.18.1 (2015-01-09)
btrfs-progs-3.18.1(2015-01-09)
  • minor fixes 小修复

  • documentation updates 文档更新

btrfs-progs-3.18.2 (2015-01-27)
  • qgroup show: print human readable sizes, options to say otherwise
    qgroup show: 打印人类可读大小,提供其他选项

  • check: new option to explicitly say no to writes
    检查:新增选项,明确拒绝写入

  • mkfs: message about trimming is not printed to stderr
    mkfs:关于修剪的消息未打印到 stderr

  • filesystem show: fixed return value
    文件系统显示:修复返回值

  • tests: new infrastructure
    测试:新基础设施

  • btrfstune: force flag can be used together with seeding option
    btrfstune:强制标志可以与播种选项一起使用

  • backtrace support is back
    回溯支持已恢复

  • getopt cleanups getopt 清理

  • doc and help updates 文档和帮助更新

btrfs-progs-3.17 (2014-10-17)

  • check: --init-csum-tree actually does something useful, rebuilds the whole csum tree
    检查:--init-csum-tree 实际上有用,重建整个 csum 树

  • /dev scanning for btrfs devices is gone
    /dev 扫描 btrfs 设备已经消失

  • /proc/partitions scanning is gone, blkid is used exclusively
    /proc/partitions 扫描已经消失,blkid 被独占使用

  • new subcommand subvolume sync
    新的子命令子卷同步

  • filesystem df: new options to set unit format
    文件系统 df:新增选项以设置单位格式

  • convert: allow to copy label from the origin, or specify a new one
    转换:允许从原始位置复制标签,或指定一个新标签

btrfs-progs-3.17.1 (2014-11-04)
  • filesystem df: argument handling
    文件系统 df:参数处理

  • fix linking with libbtrfs
    修复与 libbtrfs 的链接

  • replace: better error reporting
    替换:更好的错误报告

  • filesystem show: fixed stall if run concurrently with balance
    文件系统显示:如果与平衡同时运行会出现固定的停顿

  • check: fixed argument parsing for --subvol-extents
    检查:修复了--subvol-extents 的参数解析

  • filesystem df: SI prefixes corrected
    文件系统 df:SI 前缀已更正

btrfs-progs-3.17.2 (2014-11-19)
btrfs-progs-3.17.2(2014-11-19)
  • check improvements 检查改进
    • add ability to replace missing dir item/dir indexes
      添加替换丢失的目录项/目录索引的能力

    • fix missing inode items 修复丢失的 inode 项

    • create missing root dirid
      创建丢失的根目录 id

  • corrupt block: enhancements for testing fsck
    损坏块: 用于测试 fsck 的增强功能

  • zero-log: able to reset a fs with bogus log tree pointer (bug_72151)
    zero-log: 能够重置具有虚假日志树指针的 fs (bug_72151)

btrfs-progs-3.17.3 (2014-12-04)
  • convert: fix conversion of sparse ext* filesystems
    转换:修复稀疏 ext* 文件系统的转换

  • show: resolve to the correct path
    显示:解析到正确的路径

  • fsck: more verbose error for root dir problems
    fsck:根目录问题的更详细错误

btrfs-progs-3.16 (2014-08-26)

  • mkfs: new option to specify UUID, drop experimental notice
    mkfs: 新选项以指定 UUID,删除实验性通知

  • check: new option to verify quotas, reduced memory requirements, new option to print extent sharing
    check: 新选项以验证配额,减少内存需求,新选项以打印范围共享

  • restore: check length before decompression, more error handling, option to loop during restoring
    恢复:在解压缩之前检查长度,增加更多错误处理,恢复过程中循环选项

  • balance: new filter ‘limit’
    平衡:新增过滤器 'limit'

  • recover: allow to read all sb copies
    恢复:允许读取所有的 sb 副本

  • btrfstune: new option to force dangerous changes
    btrfstune:强制危险更改的新选项

  • receive: new option to limit number of errors
    receive:限制错误数量的新选项

  • show-super: skip unrecognized sb, add option to force
    show-super:跳过未识别的 sb,添加强制选项

  • debug-tree: print tree by id
    调试树:按 ID 打印树

  • documentation updates 文档更新

btrfs-progs-3.16.1 (2014-09-15)
btrfs-progs-3.16.1(2014-09-15)
  • print GlobalReserve in filesystem df output
    在文件系统 df 输出中打印 GlobalReserve

  • new option -R in subvol list
    在子卷列表中添加新选项 -R

  • library version defines 库版本定义

  • static build is fixed 静态构建已固定

  • build without documentation is possible
    可以构建没有文档

btrfs-progs-3.16.2 (2014-10-01)
  • a few fixes in fsck and image tools
    fsck 和 image 工具中的一些修复

btrfs-progs-3.15 (skipped)
btrfs-progs-3.15 (已跳过) 

btrfs-progs-3.14 (2014-04-06)

  • fsck: fixes and enhancements to --init-extent-tree mode
    fsck:修复和增强--init-extent-tree 模式

  • fsck: chunk-recover updates
    fsck:chunk-recover 更新

  • scrub: add force option -f
    scrub:添加强制选项 -f

  • send: check if subvolumes are read-only
    发送:检查子卷是否为只读

  • subvol delete: add options to affect commit behaviour
    子卷删除:添加选项以影响提交行为

  • btrfs: add property command group
    btrfs:添加属性命令组

  • restore: add dry-run option
    恢复:添加 dry-run 选项

  • restore: fix restoring of compressed files
    恢复:修复恢复压缩文件的问题

  • mkfs: support for no-holes feature
    mkfs:支持无空洞功能

  • mkfs: option -r deals with hardlinks and relative paths
    mkfs:选项 -r 处理硬链接和相对路径

  • mkfs: discard phase is interruptible
    mkfs:丢弃阶段可中断

  • documentation updates 文档更新

btrfs-progs-3.14.1 (2014-04-18)
  • properties: fix handling of option -t
    属性: 修复选项 -t 的处理

  • restore: fix reading of compressed extents
    恢复: 修复对压缩范围的读取

  • minor code and doc updates
    小的代码和文档更新

btrfs-progs-3.14.2 (2014-05-29)
  • documentation is now written in asciidoc and there are manpages for each subcommand
    文档现在使用 asciidoc 编写,并为每个子命令提供了 man 页面

  • misc bugfixes 杂项错误修复

btrfs-progs-3.13 (skipped)
btrfs-progs-3.13(已跳过)

btrfs-progs-3.12 (2013-11-25)
btrfs-progs-3.12(2013 年 11 月 25 日)

  • announcement, tarballs 公告,tarballs

  • first release after 0.19 (2009/06) with a lot of changes
    0.19 之后的第一个发布版(2009/06),有很多变化