Bug 462753 - BTRFS deduplication is not considered in size calculation when duplicating files/directories
Summary: BTRFS deduplication is not considered in size calculation when duplicating fi...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-07 18:57 UTC by Derek Christ
Modified: 2022-12-07 20:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Christ 2022-12-07 18:57:28 UTC
SUMMARY
When there is not much space left on the disk, KIO will not try to duplicate (Ctrl+D) files or directories that would take up more space than is left.
On BTRFS, however, due to the deduplication, this operation will not take up any space at all. Therefore KIO falsely aborts a duplicate operation that should be possible.

STEPS TO REPRODUCE
1. Fill up disk
2. Find a file that is bigger than the space left on disk
3. Try to duplicate it (Ctrl+D)

OBSERVED RESULT
Is not duplicated

EXPECTED RESULT
Should be duplicated

SOFTWARE/OS VERSIONS
Is not duplicated

ADDITIONAL INFORMATION
Operating System: openSUSE Tumbleweed 20221206
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.10-1-default (64-bit)