vfs_btrfs — Utilize features provided by the Btrfs filesystem
vfs objects = btrfs
This VFS module is part of the samba(8) suite.
The vfs_btrfs
VFS module exposes Btrfs
specific features for use by Samba.
Btrfs allows for multiple files to share the same on-disk data through the use cloned ranges. When an SMB client issues a request to copy duplicate data (via FSCTL_SRV_COPYCHUNK), this module maps the request to a Btrfs clone range IOCTL, instead of performing reads and writes required by a traditional copy. Doing so saves storage capacity and greatly reduces disk IO.
This module is stackable.
vfs_btrfs
requires that the underlying share
path is a Btrfs filesystem.
[share]
vfs objects = btrfs