From: DrFTPD <tr...@dr...> - 2010-12-20 22:19:33
|
#453: Reference counting for slave remerges -------------------------------+-------------------------------------------- Reporter: djb61 | Owner: zubov Type: enhancement | Status: new Priority: normal | Milestone: 3.0 Component: VirtualFileSystem | Version: 3.0alpha Severity: normal | Keywords: vfs remerge speed -------------------------------+-------------------------------------------- Attached is a patch to address the problems of slave remerges taking a long time which is spent checking large portions of the VFS to remove the slave. This patch maintains counts against directories of the number of file inodes below the dir on each slave, this allows unnecessary paths to be skipped in the above checking. This is experimental and subject to change before it hits the tree but I'm putting it here in case anyone wants to play. To use this on an existing VFS it will be necessary to run "site fixslavecount" to calculate the counts for all existing inodes, this must be run with a static VFS (no uploads, remerges, archiving etc) and will take a while as it recurses the entire VFS. -- Ticket URL: <http://trac.drftpd.org/ticket/453> DrFTPD <http://www.drftpd.org/> Distributed FTP Daemon |