]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/rgw: reduce tag_timeout significantly
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 9 Jun 2016 21:30:42 +0000 (14:30 -0700)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 14 Jul 2016 08:06:58 +0000 (10:06 +0200)
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 <yehuda@redhat.com>
(cherry picked from commit 99efdc673b7aed439eebdaa92ff117ba9646dd7c)

src/cls/rgw/cls_rgw_types.h

index 08dd5c2f869f1f5721959b744f958e2c5b1bf283..cf143ce92cc09fab1426551d2f925fcc33712b45 100644 (file)
@@ -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