D27504: WIP: RFC: smb faster copy to local
Harald Sitter
noreply at phabricator.kde.org
Tue Mar 10 11:51:33 GMT 2020
sitter updated this revision to Diff 77343.
sitter added a comment.
- rebase
- move transfer impls to cpp
- new unpop function to make the ring usage more consistent and make sure neither thread can overtake the other
- new test for transfer tech. notably simulating imbalance in processing speed of the ring threads
- segment now constructs from the file size instead of the segment size. this centralizes segment size code in the segment
- make all transfers use a segment constructed with the relevant file size to get "smart" size calculation everywhere (ring buffer continues only for copyget and get)
remote-to-remote copy is blocked on smb_context not being thread safe nor reentrant. unlikely to change any time soon. it's also blocking file change notification support for both kio and gvfs :(
REPOSITORY
R320 KIO Extras
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D27504?vs=76865&id=77343
BRANCH
smb-threaded-read
REVISION DETAIL
https://phabricator.kde.org/D27504
AFFECTED FILES
smb/CMakeLists.txt
smb/autotests/CMakeLists.txt
smb/autotests/transfertest.cpp
smb/kio_smb.h
smb/kio_smb_dir.cpp
smb/kio_smb_file.cpp
smb/transfer.cpp
smb/transfer.h
To: sitter, ngraham, cfeck
Cc: hallas, anthonyfieroni, asturmlechner, kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200310/0d971f86/attachment.html>
More information about the Kde-frameworks-devel
mailing list