Re: [netatalk-admins] One Server, 2 Volumes and a big file


Subject: Re: [netatalk-admins] One Server, 2 Volumes and a big file
From: a sun (asun@saul1.u.washington.edu)
Date: Sat Jan 23 1999 - 23:44:55 EST


   } so, here's the big question: what systems have pthread support? i'm
   } pretty sure linux, *bsd, and solaris do, but i don't think sunos and
   } ultrix do. i suppose i can just not create separate threads on those
   } platforms.

   SunOS definitely does not. Is there any chance you can simply fork off
   another process to do the job?

actually, my current idea is to use asynchronous io if that's
available. that should also improve interactive response as well as we
can just let the few operations that might take forever to run
separately from everything else.

as netatalk doesn't currently have autoconf support (hint hint), i
guess i'll add some option to turn it on. starting another process
seems awfully wasteful. in addition, there's the problem of getting
back status information from that process. i suppose i could always
use the exit code, but that's pretty ugly. getting a completion signal
just seems so much nicer.

in any case, i'll see what i can do to FPCopyFile so that it doesn't
timeout. until i get some kind of asynchronous io support in, you'll
still be unable do to anything while the copying is going on, but
hopefully you won't get timeouts. basically, i'll probably just turn
off afpd's tickle timeout checking during an FPCopyFile.

-a



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:16:14 EST