[Pvfs2-developers] patches: bug fixes

Phil Carns pcarns at wastedcycles.org
Tue Sep 5 14:39:18 EDT 2006


pread-pwrite.patch:
-------------------
This fixes a bug in a patch that I submitted earlier to provide a simple 
alternate AIO implementation.  It defines _GNU_SOURCE in a limited area 
for dbpf so that we can get proper definitions of pread() and pwrite() 
on Linux.  I tried using _XOPEN_SOURCE=500, but it will break any .c 
file that includes dbpf.h due to incompatibilities with Berkeley DB.

zero-dfile.patch:
-------------------
This fixes a bug in the getattr handling on pvfs2-server if it happens 
to find an attribute structure with the dfile array zeroed out.  In this 
case, it needs to set the attr flag appropriately to prevent the 
response encoder from segfaulting while processing the array in the 
response structure.  This condition is very hard to trigger, but the 
server should be able to gracefully report the error rather than crashing.

-Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pread-pwrite.patch
Type: text/x-patch
Size: 3311 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060905/010e2a12/pread-pwrite.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zero-dfile.patch
Type: text/x-patch
Size: 881 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060905/010e2a12/zero-dfile.bin


More information about the Pvfs2-developers mailing list