[Pvfs2-developers] patches: misc. kernel bugs

Phil Carns pcarns at wastedcycles.org
Thu May 18 11:36:24 EDT 2006


kernel-lookup-err.patch:
------------------------
This updates the kernel module to allow other error messages besides 
ENOENT to propigate out of the lookup function.  This is particularly 
helpful if the file system goes down- some access that would previously 
report "no such file or directory" on the client side are now more 
likely to report "connection refused" or something along those lines. 
ENOENT is only used when the server actually confirms that the entry 
isn't there.

kernel-ro-2.4.patch:
--------------------
The mount.pvfs2 utility (only used on 2.4 kernel systems) was failing to 
parse and use the "ro" mount option.

kernel-root-chmod.patch:
---------------------
The current PVFS2 semantics make the root directory of the file system 
"sticky" automatically.  However, an error code was returned if you 
issued a chmod that tried to set the root directory sticky.  That means 
that you would need to issue a chmod 777 (for example) to get the 
permissions to 1777.  Some chmod command line programs balk at this 
because they confirm the correct permissions after setting them.  This 
patch fixes it by allowing the sticky bit to be set on the root 
directory (and the root only) so there is no mismatch between the set 
permissions and the resulting permissions.  The sticky bit is hidden in 
the kernel module since the server's don't typically understand this mode.

mount-pvfs2-dup-mnt.patch:
----------------------
This is another fix to the mount command that only affects 2.4 kernel 
systems.  The setup is to mount a PVFS2 file system on a particular 
directory, and then mount another PVFS2 file system (or the same one) on 
top of the same directory.  That much works fine.  However, when you 
unmount the outermost file system, both disappear from the mount 
listing, although the second one is really still there.  This is 
actually a bug that is present in PVFS1 and just came along for the ride 
when the mount.pvfs command was ported to mount.pvfs2.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-lookup-err.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060518/3d2d1a58/kernel-lookup-err.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-ro-2.4.patch
Type: text/x-patch
Size: 2079 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060518/3d2d1a58/kernel-ro-2.4.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-root-chmod.patch
Type: text/x-patch
Size: 2413 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060518/3d2d1a58/kernel-root-chmod.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount-pvfs2-dup-mnt.patch
Type: text/x-patch
Size: 899 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060518/3d2d1a58/mount-pvfs2-dup-mnt.bin


More information about the Pvfs2-developers mailing list