[OpenAFS-devel] OpenAFS vs Inotify (as represented by Beagle)
Derrick J Brashear
shadow@dementia.org
Mon, 26 Mar 2007 10:07:05 -0400 (EDT)
On Mon, 26 Mar 2007, chas williams - CONTRACTOR wrote:
> In message <FDFC8EFC-B43B-4574-B6F6-BD120EE16BF3@inf.ed.ac.uk>,Simon Wilkinson
> writes:
>> Apart from turning off inotify, anyone have any ideas how to move
>> forwards on this?
>
> turning off inotify would likely be unpopular. this would break the
> gnome desktop if running your home directory out of afs. a quick fix is
> to increase the number of -stat entries when starting afs. i have about
That's not really a fix, it's a workaround.
> 4000 directories in my home dir. i guess -stat should be about 6000?
> in the long term the linux afs client could be made to just keep growing
> the number of afs inodes as necessary. for 2.6 these inodes come from
> a dynamic pool. this might slow down some afs operations though since
> the afs inode lists are walked in a linear fasion.
We should probably actually look at doing it this way.