From: Yehuda Sadeh Date: Thu, 9 Jun 2016 21:30:42 +0000 (-0700) Subject: cls/rgw: reduce tag_timeout significantly X-Git-Tag: v11.0.0~89^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=99efdc673b7aed439eebdaa92ff117ba9646dd7c;p=ceph.git cls/rgw: reduce tag_timeout significantly The tag timeout is used for applying dir_suggest changes. Shorten it so that changes will be reported early and can be used in data sync. Signed-off-by: Yehuda Sadeh --- diff --git a/src/cls/rgw/cls_rgw_types.h b/src/cls/rgw/cls_rgw_types.h index 08dd5c2f869f..cf143ce92cc0 100644 --- a/src/cls/rgw/cls_rgw_types.h +++ b/src/cls/rgw/cls_rgw_types.h @@ -11,7 +11,7 @@ #define CEPH_RGW_REMOVE 'r' #define CEPH_RGW_UPDATE 'u' -#define CEPH_RGW_TAG_TIMEOUT 60*60*24 +#define CEPH_RGW_TAG_TIMEOUT 120 #define CEPH_RGW_DIR_SUGGEST_LOG_OP 0x80 #define CEPH_RGW_DIR_SUGGEST_OP_MASK 0x7f