diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-03-06 14:36:52 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-03-09 02:40:53 -0700 |
commit | 5ab4a17a63acf7215e9dc98276e7547ae527a5a7 (patch) | |
tree | dee953cca4190f2a1ffee54681ac17b848fd1a63 /xlators/cluster/afr/src/afr-inode-read.h | |
parent | 3ceb64f3bd0919c556829c7297e67fb3ba40eaa9 (diff) |
cluster/afr: Handle getxattr of quota-size key
Afr needs to query QUOTA_SIZE_KEY from all the subvolumes and return the
value which is maximum of the readable bricks.
Change-Id: Ibb9064c8652aea0d984796e7a06f8adca72aa971
BUG: 1199431
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9820
Reviewed-by: Anuradha Talur <atalur@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-read.h')
-rw-r--r-- | xlators/cluster/afr/src/afr-inode-read.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-read.h b/xlators/cluster/afr/src/afr-inode-read.h index e4091a793e0..d128134ef2a 100644 --- a/xlators/cluster/afr/src/afr-inode-read.h +++ b/xlators/cluster/afr/src/afr-inode-read.h @@ -39,4 +39,7 @@ int32_t afr_fgetxattr (call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, dict_t *xdata); + +int +afr_handle_quota_size (call_frame_t *frame, xlator_t *this); #endif /* __INODE_READ_H__ */ |