Good to hear from you again! > Also I don’t understand why Alex Hornung has removed tmpfs_spec_vnops. > Without adding this ops call to mknod() ends with panic. (I have to > run fsstress with option “–f mknod=0”.)
In short, because of devfs. mknod is not needed, and shouldn't be used, as nodes created with it won't work anyways. > Next I tried to use objcache instead of plain kmalloc() to allocate > tmpfs nodes and direntries. But when objcache is destroyed during > unmount, there is a crit_panic "td_pri is/would-go negative! -26" > caused by mag_purge() calling crit_exit() at objcache.c. It seems that > mag_purge() is not called from the critical section as it is expected. >From where is mag_purge() being called? It indeed seems as if the caller didn't enter the critical section. > 2 diffs to Alex Hornung's tree are attached: first uses kmalloc(), > second uses objcache. > When I've some time, I'll add your patches to the repo, but in general, I would recommend you contact Simon "corecode" Schubert or Matt Dillon so you can get a leaf account, where you can keep your own repository. Cheers, Alex