[PVFS-developers] libpvfs: rename bug

Porter Don PorterDE at mercury.hendrix.edu
Thu Mar 4 16:21:18 EST 2004


Ok, so I have a fix that should always do the right thing.  Attached is an
appended version of the patch I sent before.

The kernel module didn't have a handy place to keep fs_ino.  The more I
thought about it, the more wonky it seemed for the manager to trust the
client to tell it the correct fs_ino, since the manager is the keeper of
that info anyway.  

So, I took the line in mgr:do_open() where the fs_ino of the ack is set and
moved it before the md_open call and set the incoming req instead.  Thus,
all metadata files are created with the proper fs_ino.  This field shouldn't
be changed by any other functions, so this should get it right, thus
allowing library applications to rename files created by the kernel.

Thanks!

Don

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fs_ino-1.6.0.patch
Type: application/octet-stream
Size: 2054 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs-developers/attachments/20040304/fee7ec7a/fs_ino-1.6.0.obj


More information about the PVFS-developers mailing list