diff options
author | Lalatendu Mohanty <lmohanty@redhat.com> | 2014-10-28 17:32:25 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-15 05:10:37 -0800 |
commit | 58d0ded8f7bc60f00c57f7e51e93f916085e5957 (patch) | |
tree | fca2432a831e3c1320b404f14f5fcb75f3130234 /xlators/features/snapview-client/src/snapview-client.c | |
parent | 1fd6c9cd343661d07cd98052a9966ada556339d2 (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: 1158037
"Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>"
"Reviewed-on: http://review.gluster.org/8213"
(cherry picked from commit a7ef6eea4d43afdba9d0453c095e71e6bf22cdb7)
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
Reviewed-on: http://review.gluster.org/8988
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/snapview-client/src/snapview-client.c')
0 files changed, 0 insertions, 0 deletions