diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2015-04-14 15:04:23 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-04-22 17:33:42 +0200 |
commit | 45002267e8d2699bf9b022315bee3dd13b044843 (patch) | |
tree | 9cbbc74ef620e4cc6b8f34cee1f1539fb11c0e93 /scripts/module-common.lds | |
parent | crush: drop unnecessary include from mapper.c (diff) | |
download | linux-45002267e8d2699bf9b022315bee3dd13b044843.tar.xz linux-45002267e8d2699bf9b022315bee3dd13b044843.zip |
crush: ensuring at most num-rep osds are selected
Crush temporary buffers are allocated as per replica size configured
by the user. When there are more final osds (to be selected as per
rule) than the replicas, buffer overlaps and it causes crash. Now, it
ensures that at most num-rep osds are selected even if more number of
osds are allowed by the rule.
Reflects ceph.git commits 6b4d1aa99718e3b367496326c1e64551330fabc0,
234b066ba04976783d15ff2abc3e81b6cc06fb10.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions