Murali Vilayannur wrote:
Hello,
Apologies for the duplicate effort, if someone already got or is
actively working on fixing NFS exports off pvfs2 volumes.
I havent been following pvfs2 list that closely over the last several months.
Patch is against HEAD and I got it to work on on Ubuntu 64 running 2.6.24..
Emmanuel, let me know if this fixes the problem on your kernel. It may
or may not build since some of these
function callbacks are probably only available on newer kernels.
Best wishes,
Murali
Thanks for working on this, Murali. I recently upgraded to the 32 bit
version of that same Ubuntu kernel so I gave your patch a shot too. I
had to use the --disable-kernel-aio configure option, otherwise I got a
lot of these errors when copying files onto the NFS mount:
file.c line 2611: pvfs2_file_aio_write_iovec: not implemented yet (aio
with 13 segments)
Not sure if I got it right, but I used the attached patch to build with
--disable-kernel-aio.
At this point I can definitely create, remove, read, and write files,
but I don't think that rename ("mv") is working, though.
-Phil
Index: file.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/kernel/linux-2.6/file.c,v
retrieving revision 1.147
diff -a -u -p -r1.147 file.c
--- file.c 11 Apr 2008 18:53:42 -0000 1.147
+++ file.c 2 Jun 2008 15:19:05 -0000
@@ -3259,8 +3259,10 @@ struct file_operations pvfs2_file_operat
.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
.lock = pvfs2_lock,
#else
.readv = pvfs2_file_readv,
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers