]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: respect mds_client_writeable_range_max_inc_objs config 19609/head
authorYan, Zheng <zyan@redhat.com>
Wed, 20 Dec 2017 01:56:50 +0000 (09:56 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 20 Dec 2017 02:07:46 +0000 (10:07 +0800)
commitee11b6cd9ce97820c4f53ed98380bbd63fab891f
treea6c9c38b3e27c6d6bec253c75f8d89592f180db5
parentb5eaa02a8dbbc11a716928ff531ce22cbc5c5cd7
mds: respect mds_client_writeable_range_max_inc_objs config

get_layout_size_increment() return layout.get_period(). A period
contain layout.stripe_count objects.

The config is for limiting number of objects need to probe when
recovering a file.

Fixes: http://tracker.ceph.com/issues/22492
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/Locker.cc