summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_file.cc
diff options
context:
space:
mode:
authorAli Maredia <amaredia@redhat.com>2019-05-02 22:49:37 +0200
committerAli Maredia <amaredia@redhat.com>2019-07-08 19:28:18 +0200
commit5bcee0969956a343a229842c7ee737c7337debd1 (patch)
treead04ee2487edacbb1983dd8ad924be4f82676693 /src/rgw/rgw_file.cc
parentMerge pull request #28823 from cbodley/wip-qa-rgw-swift-server (diff)
downloadceph-5bcee0969956a343a229842c7ee737c7337debd1.tar.xz
ceph-5bcee0969956a343a229842c7ee737c7337debd1.zip
rgw: thread option_yield through bucket index transaction prepare
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Diffstat (limited to 'src/rgw/rgw_file.cc')
-rw-r--r--src/rgw/rgw_file.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/rgw_file.cc b/src/rgw/rgw_file.cc
index 41f94a24f99..8a79a643103 100644
--- a/src/rgw/rgw_file.cc
+++ b/src/rgw/rgw_file.cc
@@ -1703,7 +1703,8 @@ namespace rgw {
op_ret = processor->complete(s->obj_size, etag, &mtime, real_time(), attrs,
(delete_at ? *delete_at : real_time()),
- if_match, if_nomatch, nullptr, nullptr, nullptr);
+ if_match, if_nomatch, nullptr, nullptr, nullptr,
+ s->yield);
if (op_ret != 0) {
/* revert attr updates */
rgw_fh->set_mtime(omtime);