https://bugs.kde.org/show_bug.cgi?id=431050

--- Comment #40 from Méven <[email protected]> ---
Git commit 2bc0967eabc7afa31b6fed6d41c0bcfabcc3c38e by Méven Car.
Committed on 19/10/2026 at 14:54.
Pushed by meven into branch 'master'.

filesystemfreespacejob: report sizes no filesystem has as unsupported

A worker that failed gave its own error, but the job replaced it with
ERR_UNSUPPORTED_ACTION.
The sizes then read as zero, which is a filesystem with no room left.
The worker's error is now kept, and the sizes stay at -1 without an answer.

A filesystem always has a size, and never more room than that size.
libsmbclient reports a total of zero when the size query fails.
The Linux NFS client does the same when the server answers with the 64-bit
maximum, because rounding to blocks wraps.
CopyJob then refused the copy with not enough space.
A total of zero, an available size above the total, or a figure that is not a
size now give ERR_UNSUPPORTED_ACTION.
The job logs the worker that sent them.
The total stays optional.
Related: bug 503640

M  +1    -0    autotests/CMakeLists.txt
A  +255  -0    autotests/copyjobfreespacetest.cpp     [License: LGPL(v2.0+)]
M  +20   -6    src/core/filesystemfreespacejob.cpp
M  +4    -2    src/core/filesystemfreespacejob.h

https://invent.kde.org/frameworks/kio/-/commit/2bc0967eabc7afa31b6fed6d41c0bcfabcc3c38e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to