Re: NFS/mirrors.

David Mosberger-Tang (davidm@AZStarNet.com)
Thu, 7 Dec 1995 23:07:24 -0700


>>>>> On Wed, 6 Dec 1995 10:39:42 -0500 (EST), Erik Troan <ewt@speedy.redhat.com> said:

Erik> David MT, should there be a new syscall for io stuff, so the
Erik> Jensen differences can be hidden. Is there any way to hide
Erik> those differences in PAL code instead? I assume that would be
Erik> faster... The way things are now, there is no way Red Hat can
Erik> fully support Jensen's.

No, it can be handled transparently in user mode. As mentioned in an
earlier mail to linux-alpha (which you may not have received yet), the
general idea is to use the (cached) "system type" in /proc/cpuinfo to
dynamically adjust to the I/O system. The easiest solution would be
to use a table of function pointers to dispatch to the correct
routine.

--david