Avoid hardcoding of filesystems supporting CoW
ClosedPublic

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

Details

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

Diff Detail

Repository
R293 Baloo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Apr 12 2018, 12:28 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 12 2018, 12:28 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
bruns requested review of this revision.Apr 12 2018, 12:28 AM
adridg accepted this revision.Apr 12 2018, 8:25 AM
This revision is now accepted and ready to land.Apr 12 2018, 8:25 AM
This revision was automatically updated to reflect the committed changes.