]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: use the ordered throttle for the export action 30856/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 19 Jun 2019 15:09:54 +0000 (11:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 10 Oct 2019 23:11:09 +0000 (19:11 -0400)
commitbc3fb75f3f478e595a469186af3388126be76252
treefb98007d80a88ba233561edb8883ab752aef6ab3
parentbed903698004511c41161b23e4e568202a6faab7
rbd: use the ordered throttle for the export action

This allows exports to STDOUT to use multiple concurrent operations
and also fixes a potential race condition with concurrent callbacks
and file seeking.

Fixes: http://tracker.ceph.com/issues/40435
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 751bf6957020ad02b3a29b005b9792b9c6547f96)

Conflicts:
src/tools/rbd/action/Export.cc
- mimic has g_conf->get_val and int64_t "rbd_concurrent_management_ops"
src/tools/rbd/action/Export.cc