Guest User

Untitled

a guest
Jan 17th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. On Thu, May 14, 2009 at 08:45:38PM -0400, Timo Sirainen wrote:
  2. >
  3. > I was rather thinking something that I could run while the system was
  4. > fully operational. Otherwise just moving the files to a temp directory +
  5. > rmdir() + rename() would have been fine too.
  6. >
  7. > I just tested that xfs, jfs and reiserfs all shrink the directories
  8. > immediately. Is it more difficult to implement for ext* or has no one
  9. > else found this to be a problem?
  10.  
  11. It's probably fairest to say no one has thought it worth the effort.
  12. It would require some fancy games to swap out block locations in the
  13. extent trees (life would be easier with non-extent-using inodes), and
  14. in the case of htree, we would have to keep track of the index block
  15. so we could remove it from the htree index. So it's all doable, if a
  16. bit tricky in terms of the technical details; it's just that the
  17. people who could do it have been busy enough with other things.
  18.  
  19. It's hasn't been considered high priority because most of the time
  20. directories don't go from holding thousands of files down to a small
  21. handful.
  22.  
  23. - Ted
Add Comment
Please, Sign In to add comment