[OpenAFS-devel] OpenAFS vs Inotify (as represented by Beagle)

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Mon, 26 Mar 2007 10:03:00 -0400


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
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.