Review Request 111462: Avoid unnecessary stat of destination directory during copy/move in KDirWatch

Commit Hook null at kde.org
Tue Jul 23 13:31:20 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111462/
-----------------------------------------------------------

(Updated July 23, 2013, 12:31 p.m.)


Status
------

This change has been marked as submitted.


Review request for kdelibs and David Faure.


Description
-------

The patch has been modified to only avoid unnecessary stat of the destination directory during copy/move operations in KDirWatch. This way when copying a file A to directory B does not result in directory B being stat'ed everytime file A changes.


Diffs
-----

  kdecore/io/kdirwatch.cpp a325f0f 

Diff: http://git.reviewboard.kde.org/r/111462/diff/


Testing
-------

- strace an instance of Konqueror or Dolphin.
- copy a file from a remote location (ftp,sftp, smb) to your local file system.
- check if there is a flood of stat calls on both the file being copied and its destination directory.


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130723/5623de5b/attachment.htm>


More information about the kde-core-devel mailing list