diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2015-11-17 14:45:30 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-11-23 19:56:50 -0800 |
commit | abff11e77918a355550fdc3591743cee6cc7103d (patch) | |
tree | c82e23c72853b825d61a8623db412b719c388310 /xlators/features/bit-rot/src/bitd/bit-rot.h | |
parent | 98cbfba23434254bb603d93ec154ba65bbbf86cc (diff) |
features/bit-rot: scrubber changes for getting the list of bad objects from stub
Backport of http://review.gluster.org/12654
> Change-Id: I62885e4aba4a9b345db3c78c3291d563ff3d3567
> BUG: 1207627
> Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
> Reviewed-on: http://review.gluster.org/12654
> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
> Reviewed-by: Venky Shankar <vshankar@redhat.com>
> Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Change-Id: I8e1f04f3f730cbd90bdf3cdc7b2149d0de53ea37
BUG: 1283881
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/12716
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/bitd/bit-rot.h')
-rw-r--r-- | xlators/features/bit-rot/src/bitd/bit-rot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.h b/xlators/features/bit-rot/src/bitd/bit-rot.h index ebf847665f6..647ea5a3fae 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot.h +++ b/xlators/features/bit-rot/src/bitd/bit-rot.h @@ -269,4 +269,8 @@ _br_child_get_scrub_event (struct br_scrubber *fsscrub) ? BR_SCRUB_EVENT_PAUSE : BR_SCRUB_EVENT_SCHEDULE; } +int32_t +br_get_bad_objects_list (xlator_t *this, dict_t **dict); + + #endif /* __BIT_ROT_H__ */ |