Opened 17 years ago
Closed 16 years ago
#2076 closed enhancement (invalid)
Enhance (speed-up) the way trash empties trash.
Reported by: | kvdman | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Tracker | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
When you want to empty trash in Haiku, it takes forever. Especially if you say, download something as big, or has as many files as for example, Haiku's sources and then try to delete them.
Is it necessary for Haiku to calculate how much is being deleted, or acquire attribute information, etc. for each file? (is this what happens?). I can only imagine, because it takes near the same time to copy files from one place to another, or 'get info' on a huge directory. Exactly what happens when you empty trash, that after all, are just files you want to get rid of and you don't really care about the size of the files (or probably already know). Is there any way to expedite this process? This is probably something for R2 I'm guessing.
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Perhaps this ticket can be brought to the attention of our GSOC student debugging the file system?
comment:3 by , 17 years ago
IMO I don't think this is a file system problem as creating many files and then deleting them with the rm command line is pretty quick. Same as for big files. Have you tried deleting files from Terminal? I think it's more a Tracker problem than a file system one.
comment:4 by , 16 years ago
Component: | File Systems/BFS → Applications/Tracker |
---|---|
Resolution: | → invalid |
Status: | new → closed |
I wouldn't want to miss the preflight.
Also after emptying a very full trash can the system may run extra slow until you reboot. Also when you go to shutdown it will almost always say Tidying Up, sometimes for a long time. I think this should be moved up to "bug" status and cleared up for R1.