diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-04-29 12:09:26 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-02 03:36:21 -0700 |
commit | 5f349f3f0cdc088d2908be0af2c4f1dfa94029e2 (patch) | |
tree | 16dfa3009e8a94f137113534550f173693c3285e /xlators/features/shard/src/shard.h | |
parent | 34833364e9839f0036bccd58ec0a8a963e69263e (diff) |
features/shard: Take hole size into account while computing ia_size
Change-Id: I1a90ad6669c1cb79aaae6b4bd9621c75d9985c8a
BUG: 1207615
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10446
Tested-by: NetBSD Build System
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/shard/src/shard.h')
-rw-r--r-- | xlators/features/shard/src/shard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/shard/src/shard.h b/xlators/features/shard/src/shard.h index ed452b50190..365616c108c 100644 --- a/xlators/features/shard/src/shard.h +++ b/xlators/features/shard/src/shard.h @@ -151,6 +151,7 @@ typedef struct shard_local { off_t offset; size_t total_size; size_t written_size; + size_t hole_size; loc_t loc; loc_t dot_shard_loc; loc_t loc2; |