[frameworks-kio] [Bug 463291] Dolphin could occasionally call "sync" to avoid data corruption

Felix Ernst bugzilla_noreply at kde.org
Fri Dec 30 14:26:53 GMT 2022


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

Felix Ernst <felixernst at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |general
            Version|unspecified                 |5.101.0
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
            Product|dolphin                     |frameworks-kio
                 CC|                            |felixernst at kde.org,
                   |                            |kdelibs-bugs at kde.org
           Assignee|dolphin-bugs-null at kde.org   |kio-bugs-null at kde.org

--- Comment #1 from Felix Ernst <felixernst at kde.org> ---
This should be done in KIO so I'll move this there. syncfs or fsync is what we
need to use here IMO. I think the solution with the least disadvantages is
calling "syncfs()" once on any removable data storage once a copy job is fully
completed, and only then reporting the copy as finished. If that isn't enough,
we might need to fsync every file once.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list