]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: avoid long-ish delay on shutdown 37552/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 30 Sep 2020 19:13:04 +0000 (15:13 -0400)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 5 Oct 2020 15:42:22 +0000 (15:42 +0000)
commitdd0bb8bfbdafdd906f8af3b5eccf4619bdc6f2f6
tree05a56d5ad3bb11e6045f05fa85bac547a88b0c8a
parent1cbf861ec989ff9670777441005e43e826fd7c2e
rgw_file: avoid long-ish delay on shutdown

Normal shutdown was likely to be delayed a substantial fraction
of rgw_nfs_namespace_expire_secs due to an ill-advised use of
this_thread::sleep_for.

Fixes: https://tracker.ceph.com/issues/47710
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 805f74956489e3158437acc1c3c12f267221843e)
src/rgw/librgw.cc
src/rgw/rgw_lib_frontend.h