summaryrefslogtreecommitdiff
path: root/src/common/config_opts.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-07-19 21:11:53 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-07-22 14:44:33 -0700
commit6094685e4f2b87a20febce4686ba88e98dcc6078 (patch)
treea7111546180b333e0f471971f5a04d45fb123b4e /src/common/config_opts.h
parent8c5e1db4fb76b5e1fcf6721ad210f143a571d7b8 (diff)
downloadceph-6094685e4f2b87a20febce4686ba88e98dcc6078.tar.gz
rgw: send data back when copying object
Currently doing it only when copying between regions. This is needed so that the operation doesn't time out (as it can take a long time and the web server may just hang on us since we're not sending any data). This is configurable and can be disabled. Currently only implemented for S3. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'src/common/config_opts.h')
-rw-r--r--src/common/config_opts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h
index defb71ee514..ff23ba56232 100644
--- a/src/common/config_opts.h
+++ b/src/common/config_opts.h
@@ -675,6 +675,8 @@ OPTION(rgw_md_log_max_shards, OPT_INT, 64) // max shards for metadata log
OPTION(rgw_num_zone_opstate_shards, OPT_INT, 128) // max shards for keeping inter-region copy progress info
OPTION(rgw_opstate_ratelimit_sec, OPT_INT, 30) // min time between opstate updates on a single upload (0 for disabling ratelimit)
OPTION(rgw_curl_wait_timeout_ms, OPT_INT, 1000) // timeout for certain curl calls
+OPTION(rgw_copy_obj_progress, OPT_BOOL, true) // should dump progress during long copy operations?
+OPTION(rgw_copy_obj_progress_every_bytes, OPT_INT, 1024 * 1024) // min bytes between copy progress output
OPTION(rgw_data_log_window, OPT_INT, 30) // data log entries window (in seconds)
OPTION(rgw_data_log_changes_size, OPT_INT, 1000) // number of in-memory entries to hold for data changes log