Hi, and Happy New Year!
I met the problem in using TroveMethod directio.
pvfs2-server sometimes outputs the following error, and the clients hung up.
[D 12/31 19:15] PVFS2 Server version 2.8.1pre1-2009-12-29-100034 starting.
[E 12/31 19:15] dbpf_direct_write: failed to perform aligned write
[E 12/31 19:15] dbpf_bstream_direct_write_op_svc: failed to perform
direct locked write: (error=-1073742089)
I found that the dbpf_bstream_get_extents() sometimes returns the
extents with NULL pointer.
The attached patch solved this problem.
Could you commit this patch?
Thanks
Kazuki
--
--------------------------------------------------
Kazuki Ohta: http://kzk9.net/
cvs diff: CVS password file /home/kzk/.cvspass does not exist - creating a new
file
Index: src/io/trove/trove-dbpf/dbpf-bstream-direct.c
===================================================================
RCS file: /anoncvs/pvfs2/src/io/trove/trove-dbpf/dbpf-bstream-direct.c,v
retrieving revision 1.15
diff -u -r1.15 dbpf-bstream-direct.c
--- src/io/trove/trove-dbpf/dbpf-bstream-direct.c 1 Oct 2009 15:11:11
-0000 1.15
+++ src/io/trove/trove-dbpf/dbpf-bstream-direct.c 31 Dec 2009 11:56:47
-0000
@@ -1353,6 +1353,8 @@
{
/* consume stream region and update mem region */
ext_size = cur_stream_size;
+ ext_ptr = cur_mem_off;
+ ext_off = cur_stream_off;
cur_mem_size -= cur_stream_size;
cur_mem_off += cur_stream_size;
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers