summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-10-07 12:35:58 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-10 03:57:34 -0700
commitddff07073760baa11f8aeb5732c422b93efa1daf (patch)
treeadef2ed2e2a32f5920f02a7287dd1879432b1883 /libglusterfs
parent803e09f56b4ae665a36b3d480acf7037370feab8 (diff)
Stripe: Prevent dir gfid mismatch and ENOTEMPTY errors
gfid mismatch issue- rmdir- first remove from non first child (FC), and then last from FC. If one fails, FC entry is not removed and op is failed. mkdir- first create dir from FC, followed by other childs. If FC is success then, we succeed, banking on entry self heal ENOTEMPTY issue- unlink: remove from non FC and then on success remove from FC. If non FC remove fails, fail unlink create- Create first on FC, and on success create on non FC. Change-Id: I89cb6e069762a1d45669335330e9381c23de3197 BUG: 3663 Reviewed-on: http://review.gluster.com/566 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions