D12136: Avoid hardcoding of filesystems supporting CoW
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Thu Apr 12 00:28:41 UTC 2018
bruns created this revision.
bruns added a reviewer: Baloo.
Restricted Application added projects: Frameworks, Baloo.
Restricted Application added a subscriber: Frameworks.
bruns requested review of this revision.
REVISION 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
REPOSITORY
R293 Baloo
BRANCH
disble_cow_unconditionally
REVISION DETAIL
https://phabricator.kde.org/D12136
AFFECTED FILES
src/engine/database.cpp
To: bruns, #baloo
Cc: #freebsd, #frameworks, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180412/397dcfe3/attachment.html>
More information about the Kde-frameworks-devel
mailing list