diff options
| author | Pranith Kumar K <pkarampu@redhat.com> | 2015-03-06 14:36:52 +0530 | 
|---|---|---|
| committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-03-14 03:13:45 -0700 | 
| commit | fe416a671dd6b6ce8cb4d94e64154491a148993c (patch) | |
| tree | 8aa972b9734e081368989d95325a3689cbcf5ef8 /xlators/cluster/afr/src/afr-inode-read.h | |
| parent | bd775bf495bca79ed5fec72450cd884f5a734221 (diff) | |
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 <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9873
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@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__ */  | 
