]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: use the ordered throttle for the export action 30178/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 19 Jun 2019 15:09:54 +0000 (11:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 7 Oct 2019 19:29:32 +0000 (15:29 -0400)
commit818b733e84a8694e5b6f81af25844bca683878bf
tree0f55a94c564621af38b9fa921aa9582634fda41f
parent692a678a00919bcce61c0ee46a3adbdeee8265e9
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