diff options
author | Lalatendu Mohanty <lmohanty@redhat.com> | 2014-07-01 07:52:27 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-10-28 03:40:18 -0700 |
commit | a7ef6eea4d43afdba9d0453c095e71e6bf22cdb7 (patch) | |
tree | d7d6eb21f4a9fe45f7c7a2c8208d307b24b5661f /geo-replication/syncdaemon/resource.py | |
parent | 4d3c6d93d1c75696987f262cf5a304b3038bc585 (diff) |
Posix: Brick failure detection fix for ext4 filesystem
Issue: stat() on XFS has a check for the filesystem status but
ext4 does not.
Fix: Replacing stat() call with open, write and read to a new file under the
"brick/.glusterfs" directory. This change will work for xfs, ext4 and other
fileystems.
Change-Id: Id03c4bc07df4ee22916a293442bd74819b051839
BUG: 1130242
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
Reviewed-on: http://review.gluster.org/8213
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
0 files changed, 0 insertions, 0 deletions