summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@icloud.com>2018-02-24 18:35:29 +0800
committerIlya Dryomov <idryomov@gmail.com>2018-04-02 10:12:46 +0200
commite327ce068518e38c0182739e879b9dce477c8d85 (patch)
treea727fff9856f7a0a6497c1425372056498cd4fc5 /COPYING
parentb884014a91a49ed0e7198d276b28887cc48363bd (diff)
downloadtalos-obmc-linux-e327ce068518e38c0182739e879b9dce477c8d85.tar.gz
talos-obmc-linux-e327ce068518e38c0182739e879b9dce477c8d85.zip
ceph: optimizing cap allocation
When setting high volume of caps_min_count or having many unreserved caps, unused caps may always keep in the ->caps_list even can't get new cap from kmem_cache_alloc because lack of maximum limitation of caps_avail_count. Hence reuse caps in ->caps_list if available, it's maybe better than setting max limitation of caps_avail_count and releasing unused caps when reaching the limit. Signed-off-by: Chengguang Xu <cgxu519@icloud.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud