From: Gordan B. <go...@bo...> - 2009-07-23 13:53:16
|
On Thu, 23 Jul 2009 15:27:22 +0200, Marc Grimme <gr...@at...> wrote: > Gordan, > hardware-lib.sh -> upstream > clusterfs-lib.sh ;-) > + > + > ############################################################################# > + # GlusterFS settle time bug bodge! > + sleep 5 > + ls -la ${mountpoint} > /dev/null > + ls -la ${mountpoint}/${prefix} > /dev/null > + > ############################################################################# > + > > I simply cannot do this. I know, it's horrible. > I could add a sleep with a timeout defaults 0 but which can be overwritten > as bootparameter. Yes, I guess that would be fine. > But do you really need those ls? I suspect that those aren't necessary any more with the latest version of GlusterFS. There used to be a bug that caused first post-mounting access to always fail, but I think this has been fixed now. The simple fact is that it is a GlusterFS issue, not an OSR issue, so I fully understand the justification for not including this horrible workaround at all. I only bothered posting it because there was no fix time given. Gordan |