vova7890 created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  Currently on linux copying file on the flash drive is showing momental 
progress 0 -> 100% and at the end of 100% is waiting while file are flushed on 
the drive. 
  This is almost linux bug with dirty_cache, but had another way to write the 
file. This patch is implements by checking what drive has dest file, and tryng 
to optimize of file writing by cheking is the device are "removable"(if true - 
appends O_SYNC for ::open) and how many kbytes device can transfer per single 
transfer.  So for now, the progress bar is shows real percent of progress and 
abort or pause is working are propertly.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D8254

AFFECTED FILES
  b/src/ioslaves/file/file_unix.cpp

To: vova7890
Cc: #frameworks

Reply via email to