I’ve had a similar issue since near day 1 with my deployment. Server is Debian, backup drive is BTRFS. Never found any ideas or help with it. Willing to try again though.
Client log:
2021-01-25 09:40:13(info): Starting scheduled incremental image backup of volume "C:"...
2021-01-25 10:24:55(info): Basing image backup on last incremental or full image backup
2021-01-25 10:24:55(info): Creating writable snapshot of previous image backup...
2021-01-25 12:01:39(warning): Trimming file failed. Image backup may use too much storage.
2021-01-25 12:01:57(info): Transferred 15.7669 GB - Average speed: 23.4141 MBit/s
2021-01-25 12:01:57(info): (Before compression: 27.7833 GB ratio: 1.76213)
2021-01-25 12:01:57(info): Time taken for backing up client REDACTED: 2h 21m 43s
2021-01-25 12:01:57(info): Backup succeeded
Server log:
2021-01-25 12:01:39: WARNING: fallocate failed (setting unused image range) with errno 22
2021-01-25 12:01:39: WARNING: Trimming syscall failed. Stopping trimming.
2021-01-25 12:01:39: WARNING: Trimming file failed. Image backup may use too much storage.
Unfortunately, with this issue, raw format backups on BTRFS seem pretty much unusable. (The spike at the end is caused by two small incremental backups)
I think it calls trim with a zero length right at the end. So yeah, that needs to be patched so it doesn’t have this warning but it doesn’t even cause what it logs about (Image backup may use too much storage).
The statistics not being accurate is a separate issue. Please look at total file system usage/btrfs quota and create a separate thread if you still see issues.