|author||Vikas Gorur <firstname.lastname@example.org>||2009-09-28 20:58:26 +0000|
|committer||Anand V. Avati <email@example.com>||2009-09-28 19:36:09 -0700|
cluster/afr: dir-write: Fix inode number handling.
create, mkdir, symlink, mknod: Prefer to return itransform'd inode number from the first_up_child. If not, fall back on any other child that returned succcess. link, rename: Return the same inode number that was passed as part of loc_t. Also adds a new member to afr_local_t, local->first_up_child which is initialized at the start of the transaction. This fixes the race where a subvolume might go down during the transaction and thus have the first_up_child change. Signed-off-by: Anand V. Avati <firstname.lastname@example.org> BUG: 285 ("first up child" can change during a transaction) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=285
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions