Interoperability 互操作性 

cgroups

Cgroups are supported for the IO controller, for compressed and uncompressed data. This can be used to limit bandwidth or for accounting. The cgroups can be configured directly or e.g. via systemd directives IOAccounting, IOWeight etc.
Cgroups 支持 IO 控制器,用于压缩和非压缩数据。这可以用于限制带宽或进行会计。Cgroups 可以直接配置,也可以通过 systemd 指令 IOAccounting、IOWeight 等进行配置。

See also systemd.resource-control(5).
另请参阅 systemd.resource-control(5)。

fsverity

The fs-verity is a support layer that filesystems can hook into to support transparent integrity and authenticity protection of read-only files. This requires a separate management utility fsverity.
fs-verity 是一个支持层,文件系统可以连接到其中,以支持只读文件的透明完整性和真实性保护。这需要一个单独的管理实用程序 fsverity。

See also: https://www.kernel.org/doc/html/latest/filesystems/fsverity.html
另请参阅:https://www.kernel.org/doc/html/latest/filesystems/fsverity.html

idmapped mounts idmapped 挂载 

Btrfs supports mount with UID/GID mapped according to another namespace since version 5.15.
Btrfs 支持根据另一个命名空间映射的 UID/GID 挂载,自版本 5.15 起。

See also: https://lwn.net/Articles/837566/
另请参阅:https://lwn.net/Articles/837566/

Device mapper, MD-RAID 设备映射器,MD-RAID 

Btrfs works on top of device mapper (DM) and linux multi-device software RAID (MD-RAID) block devices transparently without any need for additional configuration. There is no integration so device failures are not handled automatically in any way, must be resolved either in btrfs or on the DM/MD layer.
Btrfs 在设备映射器(DM)和 Linux 多设备软件 RAID(MD-RAID)块设备之上透明地工作,无需任何额外配置。没有集成,因此设备故障不会以任何方式自动处理,必须在 btrfs 或 DM/MD 层解决。

The functionality of DM/MD may duplicate the one provided by btrfs (like mirroring), it’s possible to use it that way but is probably wasteful and may degrade performance. Creating a filesystem on top of the multiplexed device is likely the desired way.
DM/MD 的功能可能会重复 btrfs 提供的功能(如镜像),可以这样使用,但可能是浪费的,可能会降低性能。在多路复用设备上创建文件系统可能是期望的方式。

overlayfs

Since kernel 4.15 the btrfs filesystem can be used as lower filesystem for overlayfs (supporting the rename modes of exchange and whiteout).
从内核 4.15 开始,btrfs 文件系统可以作为 overlayfs 的底层文件系统使用(支持交换和白出的重命名模式)。

SELinux SELinux

io_uring io_uring

NFS NFS

NFS is supported. When exporting a subvolume it is recommended to use the fsid option with a unique id in case the server needs to restart. This is recommended namely when clients use the mount option hard.
NFS 受支持。在导出子卷时,建议使用带有唯一 ID 的 fsid 选项,以防服务器需要重新启动。这尤其推荐在客户端使用挂载选项 hard 时。

Example of server side export:
服务器端导出示例:

/mnt/data/subvolume1      192.168.1.2/24(fsid=12345,rw,sync)
/mnt/data/subvolume2      192.168.1.2/24(fsid=23456,rw,sync)

See also exports(5). 请参阅 exports(5)。

Samba

The Samba VFS module btrfs adds support for compression, snapshots and server-side copy (backed by reflink/clone range ioctl).
Samba VFS 模块 btrfs 添加了对压缩、快照和服务器端复制(由 reflink/clone range ioctl 支持)的支持。

See also: https://wiki.samba.org/index.php/Server-Side_Copy#Btrfs_Enhanced_Server-Side_Copy_Offload
另请参阅:https://wiki.samba.org/index.php/Server-Side_Copy#Btrfs_Enhanced_Server-Side_Copy_Offload