Ekow,

 here's a patch. I didn't test it but verified it compiles.

kevin

Index: src/apps/kernel/linux/pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/kernel/linux/pvfs2-client- core.c,v
retrieving revision 1.105
diff -a -u -p -r1.105 pvfs2-client-core.c
--- src/apps/kernel/linux/pvfs2-client-core.c 10 Dec 2008 16:19:29 -0000 1.105
+++ src/apps/kernel/linux/pvfs2-client-core.c   27 Sep 2009 00:50:57 -0000
@@ -1570,6 +1570,7 @@ out:
static PVFS_error post_io_readahead_request(vfs_request_t *vfs_request)
 {
     PVFS_error ret = -PVFS_EINVAL;
+    PVFS_hint hints;

     gossip_debug(
         GOSSIP_MMAP_RCACHE_DEBUG,
@@ -1603,13 +1604,15 @@ static PVFS_error post_io_readahead_requ
         PVFS_BYTE, &vfs_request->file_req);
     assert(ret == 0);

+    fill_hints(&hints, vfs_request);
     ret = PVFS_isys_io(
         vfs_request->in_upcall.req.io.refn, vfs_request->file_req, 0,
         vfs_request->io_tmp_buf, vfs_request->mem_req,
         &vfs_request->in_upcall.credentials,
         &vfs_request->response.io,
         vfs_request->in_upcall.req.io.io_type,
-        &vfs_request->op_id, (void *)vfs_request);
+        &vfs_request->op_id, hints, (void *)vfs_request);
+    vfs_request->hints = hints;

     if (ret < 0)
     {



On Sep 26, 2009, at 5:38 AM, EJO wrote:

The pvfs2 from the CVS still fails on kmod compilaition.
The trailing error message is shown below. It complains that
'PVFS_isys_io' has too few arguments. Anyone succeeded in
compiling with kmod on Ubuntu 9.04?

gcc -m64 -o src/apps/kernel/linux/pvfs2-client -L/home/ekw/GnuTmp/ pvfs2/lib -L/usr/local/BDB/lib -rdynamic src/apps/kernel/linux/ pvfs2-client.o -lpvfs2 -lcrypto -lssl -lpthread gcc -m64 -D__GEN_POSIX_LOCKING__ -D__PVFS2_CLIENT__ -I./include - DNDEBUG -O3 -DGOSSIP_DISABLE_DEBUG - D__STATIC_FLOWPROTO_MULTIQUEUE__ -D_FILE_OFFSET_BITS=64 - D_LARGEFILE64_SOURCE -I . -I . -I./src/client/sysint -I./src/common/ misc -I./src/common/quickhash -I./src/common/quicklist -I./src/ common/id-generator -I./src/common/gossip -I./src/common/gen-locks - I./src/common/events -I./src/io/trove -I./src/io/bmi -I./src/io/ description -I./src/io/buffer -I./src/io/job -I./src/io/dev -I./src/ proto -I./src/common/mgmt -I/home/ekw/GnuTmp/pvfs2/include - DPVFS2_VERSION="\"2.8.1pre1-2009-09-26-101554\"" - D__STATIC_METHOD_BMI_TCP__ -DUSE_MMAP_RA_CACHE -pipe -Wall -Wstrict- prototypes -I./src/kernel/linux-2.6 -I./src/apps/kernel/linux src/ apps/kernel/linux/pvfs2-client-core.c -c -o src/apps/kernel/linux/ pvfs2-client-core.o src/apps/kernel/linux/pvfs2-client-core.c: In function 'post_io_readahead_request': src/apps/kernel/linux/pvfs2-client-core.c:1612: error: too few arguments to function 'PVFS_isys_io'
make: *** [src/apps/kernel/linux/pvfs2-client-core.o] Error 1

---Ekow

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to