From 185917c7a621ce0971e883b35221895ef235ca18 Mon Sep 17 00:00:00 2001 From: Mohit Agrawal Date: Tue, 28 Nov 2017 11:26:10 +0530 Subject: posix: Convert posix_fs_health_check asynchrnously to save timestamp Problem: Sometime posix_fs_health_check thread is blocked on write/read call while backend device deleted abruptly. Solution: To resolve it convert code to update timestamp asynchrnously. BUG: 1501132 Change-Id: Id68ea6a572bf68fbf437e1d9be5221b63d47ff9c Signed-off-by: Mohit Agrawal --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xlators/mgmt/glusterd/src') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 32c36c6d886..8ec8a3125ee 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -2818,6 +2818,11 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "storage/posix", .op_version = GD_OP_VERSION_3_13_0, }, + { .option = "health-check-timeout", + .key = "storage.health-check-timeout", + .voltype = "storage/posix", + .op_version = GD_OP_VERSION_4_0_0, + }, { .key = "storage.bd-aio", .voltype = "storage/bd", .op_version = 3 -- cgit