kaio
[Top] [All Lists]

RE: KAIO + sockets

To: <kaio@xxxxxxxxxxx>
Subject: RE: KAIO + sockets
From: "Steven Busuttil" <stevenbusuttil@xxxxxxxxxxx>
Date: Fri, 12 Apr 2002 10:31:19 +0200
Importance: Normal
In-reply-to: <1018554093.1042.5.camel@hellman>
Sender: owner-kaio@xxxxxxxxxxx
Hi again,

Thank you for you interest.

I found and fixed the problem. The solution was in the mailing list
archive for March '01. There I found a one line patch that solved the
error 29 problem (even though it was encoded in base64):

--- kaio-kern-1.3.1-2.4.2       Mon Mar 19 14:53:23 2001
+++ kaio-kern-1.3.2-2.4.2       Sun Apr  8 06:28:08 2001
@@ -1456,7 +1456,7 @@
 +      int ret;
\
 +      (k)->kaio_filp->f_pos = (k)->kaio_offset;
\
 +      ret = (k)->kaio_filp->f_op-> ## op ((k)->kaio_filp,
\
-+              (k)->kaio_buf, (k)->kaio_nbytes, &(k)->kaio_offset);
\
++              (k)->kaio_buf, (k)->kaio_nbytes,
&(k)->kaio_filp->f_pos);     \
 +      kaio_io_complete((k), ret < 0 ? 0 : ret, ret > 0 ? 0 : ret, 0);
\
 +}
 +

What I don't understand is why the version of KAIO which is downloadable
1.3.1-2.4.2 is not fixed (or have a 1.3.2 version) since this problem is
known and has been solved.

Secondly, I couldn't access the mail archive from the
oss.sgi.com/projects/kaio/ website. The server kept giving me a 500
error. I managed to find them thanks to google.com that had the page
cached.

Thanks for your time,
Steve



<Prev in Thread] Current Thread [Next in Thread>