Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs-progs: docs: clarify swapfile an multi-device filesystem
It is possible to create swapfile on a multi-device filesystem but it's not reliable. The check that verifies that in kernel: 10698 } else if (device != map->stripes[0].dev) { 10699 btrfs_warn(fs_info, "swapfile must be on one device"); 10700 ret = -EINVAL; 10701 goto out; 10702 } This does not count devices but rather the actual placement of the swapfile extents, so multi-device filesystem with single profile can create it as long as there's enough space and the allocator decides to place it properly. [ci skip] Pull-request: #839 Signed-off-by: David Sterba <[email protected]>
- Loading branch information