On Mon, Apr 15, 2013 at 04:35:38PM -0400, Dave Hall wrote: > Stan, > > I understand that this will be an ongoing problem. It seems like > all I could do at this point would be to ' manually defrag' my > inodes the hard way by doing this 'copy' operation whenever things > slow down. (Either that or go get my PHD in file systems and try to > come up with a better inode management algorithm.) No need, I know how to fix it for good. Just add a new btree that tracks free inodes, rather than having to scan the allocated inode tree to find free inodes. Shouldn't actually be too difficult to do, as it's a generic btree and the code to keep both btrees in sync is a copy of the way the two freespace btrees are kept in sync.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs