FAT bug in 2.2.10-ac8(was slocate never finishes in ..)
Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 5 Jul 1999 23:53:29 +0100 (BST)
> I switch to 2.2.10-ac8 (RH 6.0) last night and saw that the slocate
> cron run every night was still active, consuming 100% CPU.
>
> I straced it : it repeatadly run through the following two loops :
>
> /* 29 entries */, 15729) = 620
> lseek(4, 0, SEEK_SET) = 0
> lseek(4, 0, SEEK_CUR) = 0
> getdents(4, 0 632
> 12 632
> 28 632
> 52 632
Interesting. 2.2.10ac8 has Al Viro's updates for FAT/VFAT including the
directory pointer caching, so that it should break here is very believable
If I get time I'll revert you just the directory pointer caching for the next
2.2.10ac
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/