[Pvfs2-developers] --disable-kernel-aio compile failure

Troy Benjegerdes troy at scl.ameslab.gov
Mon Feb 26 19:18:34 EST 2007


with --disable-kernel-aio, I need the following patch.. which I don't  
think is quite correct..

troy at gateway:/afs/scl.ameslab.gov/project/nodeimg/powerpc.test/usr/ 
src/pvfs2-CVS/src/kernel/linux-2.6$ cvs diff -u
cvs server: Diffing .
Index: file.c
===================================================================
RCS file: /anoncvs/pvfs2/src/kernel/linux-2.6/file.c,v
retrieving revision 1.136
diff -u -r1.136 file.c
--- file.c      2 Feb 2007 02:09:00 -0000       1.136
+++ file.c      27 Feb 2007 00:15:01 -0000
@@ -2517,8 +2517,10 @@
      .write = pvfs2_file_write,
#ifdef HAVE_COMBINED_AIO_AND_VECTOR
      /* for >= 2.6.19 */
+#ifdef HAVE_AIO_VFS_SUPPORT
      .aio_read = pvfs2_file_aio_read_iovec,
      .aio_write = pvfs2_file_aio_write_iovec,
+#endif
#else
      .readv = pvfs2_file_readv,
      .writev = pvfs2_file_writev,


Also, on ppc64, if I try to build pvfs as 32 bit, a couple of the  
kernel config tests fail because configure uses plain 'gcc', and the  
kernel makefiles use 'gcc -m64'. 


More information about the Pvfs2-developers mailing list