Am 30.05.2005 um 01:59 schrieb [EMAIL PROTECTED]:

Perfect


Even more "perfect":

  instead of compile-time, you could select vfs operation
  as a ns/server config option.

I'd have to write Ns_FSStat, Ns_FSOpen, Ns_FSDirents
etc wrappers *anyway*. So instead of ifdefing pieces of
code in there, I can make the judgement on the basis of
checking the config setup which is one quick operation.
This is more friendly and would allow people to easily
experiment with the performance and pros/cons added with
the vfs interface w/o the hassle of recompiling all.

I think this is the proper way to go:

ns_section ns/server
ns_param   usetclvfs (false|true)

I'd put this process-wide instead of virtual-server-wide
because I do not know if I have access to the current
virtual server from all places where those calls are made.

Zoran






Reply via email to