diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-08-23 18:18:24 +0200 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2017-09-05 14:03:39 +0000 |
commit | b1352d0974328b367afa7360e9523585efb7178d (patch) | |
tree | 9748d319e406c62473692f19138637dd6af83475 /libgfdb.pc.in | |
parent | c0406501f0b4295a9917d31574baa2e462a18799 (diff) | |
download | glusterfs-b1352d0974328b367afa7360e9523585efb7178d.tar.gz glusterfs-b1352d0974328b367afa7360e9523585efb7178d.tar.xz glusterfs-b1352d0974328b367afa7360e9523585efb7178d.zip |
arbiter: return ENOSYS for 'non readable' FOPs
AFR marks the arbiter as 'non readable'. This has been introduced with
commit 8ab87137 (afr: do not set arbiter as a readable subvol in inode
context). arbiter_readv() should not get called anymore, so it could be
removed. However, it is a good defensive approach to have all the inode
read FOPs that can not be handled by the arbiter to return ENOSYS.
Change-Id: I6ea41680832859bd6790dc8d7440ee98d38205fc
BUG: 1484722
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/18103
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libgfdb.pc.in')
0 files changed, 0 insertions, 0 deletions