Re: [PATCH] Invalidate_inodes can be very slow

From: Andrew Morton
Date: Mon Oct 13 2003 - 06:06:37 EST


William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:
>
> Untested brute-force forward port to 2.6.0-test7-bk4. No idea if the
> locking is correct or if list movement is done in all needed places.

My preferred approach to this would be to move all the global inode lists
into the superblock so both they and inode_lock become per-sb.

It is a big change though. And, amazingly, nobody has yet hit sufficient
inode_lock contention to warrant it.

Yes, I bet that this search will hurt like hell on a really big box which
has thousands of auto-expiring NFS mounts. Please test your patch and I'll
queue it up while we think about it some more.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/