diff options
author | ShyamsundarR <srangana@redhat.com> | 2014-01-28 11:09:10 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-02-04 09:56:57 -0800 |
commit | 0c721c4c046d3580f7774eb480ff139c3ef814b5 (patch) | |
tree | abd084f60c29d4035be412872033f88062872c6f /libglusterfs | |
parent | 21a83b8be06aa73f40b83b9cfc97dc8a1972190a (diff) |
cluster/dht: Set restrictive open flags for files under rebalance
Files that are being rebalanced are created in the new volume
and access path needs to open these files to write changing
data in parallel to both the old and new locations. While opening
the file in the new location, we need to restrict the open flags
to not use truncate or create and fail if exist flags, to prevent
open failures or inadvertently truncate the file under rebalance.
Change-Id: I12130e0377adc393f1925c45585200ad991fd0d5
BUG: 1058569
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Reviewed-on: http://review.gluster.org/6830
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions