Diffusion Baloo 5f3b8ead07eb

Avoid hardcoding of filesystems supporting CoW

Authored by bruns on Apr 12 2018, 12:17 AM.

Description

Avoid hardcoding of filesystems supporting CoW

Summary:
The correct way to check for CoW support and conditionally disabling it
for the database is just by setting the NO_COW flag.

The CoW support is not only filesystem dependent, but is affected by
parameters at filesystem creation (XFS reflink) or mount time (BTRFS
nodatacow).

Test Plan:
make
ctest

Reviewers: Baloo, adridg

Reviewed By: adridg

Subscribers: FreeBSD, Frameworks

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D12136

Details

Committed
brunsApr 15 2018, 7:28 PM
Reviewer
adridg
Differential Revision
D12136: Avoid hardcoding of filesystems supporting CoW
Parents
R293:92ff146f5563: Allow disabling of CoW to fail when not supported by filesystem
Branches
Unknown
Tags
Unknown