diff options
author | Kaushal M <kaushal@gluster.com> | 2011-10-31 12:33:50 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-31 05:52:51 -0700 |
commit | 2379475bda40de6349e94506e0c7ea9386c9b514 (patch) | |
tree | 389befdb8520de603ad206d4015cd5bb773f12d3 /xlators/cluster/afr/src/afr-open.c | |
parent | e5d1f3ce842c7a3e7d3f86304b22b0e31141a2f3 (diff) |
cluster/afr : Fix self-heal of special files
Fixes self-heal of special files like device files, fifo files, socket files
etc. Does it by doing the following:
* Prevent setting of pending data xattr on a special file during entry self-heal
when a new file is created.
* Allow data self-heal to be started on all file types other than directories.
During data self-heal, for special files just erase pending xattrs, if those
xattrs were set by previous releases of glusterfs.
Change-Id: I1a36670b7287292d579b53852e25cdd452d55605
BUG: 3525
Reviewed-on: http://review.gluster.com/647
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-open.c')
0 files changed, 0 insertions, 0 deletions