From fe416a671dd6b6ce8cb4d94e64154491a148993c Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Fri, 6 Mar 2015 14:36:52 +0530 Subject: cluster/afr: Handle getxattr of quota-size key Backport of http://review.gluster.org/9820 Afr needs to query QUOTA_SIZE_KEY from all the subvolumes and return the value which is maximum of the readable bricks. BUG: 1201624 Change-Id: I41725a7323020c1480c38560dc5ae2c2e82d6d47 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/9873 Reviewed-by: Krutika Dhananjay Tested-by: Gluster Build System Reviewed-by: Raghavendra Bhat --- xlators/cluster/afr/src/afr-inode-read.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/cluster/afr/src/afr-inode-read.h') 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__ */ -- cgit