diff options
author | Lalatendu Mohanty <lmohanty@redhat.com> | 2014-10-28 17:27:25 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-10-28 09:33:48 -0700 |
commit | d8c40d37a5850bf1021288c91d75a66c494c9c98 (patch) | |
tree | c3ab0e9f5778415994880511bd37b16ab0057396 /tests/basic/gfid-access.t | |
parent | 027d38cf6ba838cd015886207d3c265ef6446757 (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: 1130204
"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>"
(cherry picked from commit a7ef6eea4d43afdba9d0453c095e71e6bf22cdb7)
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
Reviewed-on: http://review.gluster.org/8989
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'tests/basic/gfid-access.t')
0 files changed, 0 insertions, 0 deletions