Ceph : Issueshttps://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2018-03-10T10:01:07ZCeph
Redmine Ceph - Bug #23296 (Resolved): Cache-tier forward mode hang in luminoushttps://tracker.ceph.com/issues/232962018-03-10T10:01:07ZTing-Yi Linwooertim@gmail.com
<p>The cache-tier forward mode is hanging in luminous. It seems that the client is keep sending request to cache-tier's osd and the osd always replied redirect to client.</p>
<p>This can be reproduced by<br />1. Create cache-tier<br />2. Set cache mode to forward<br />3. Write data to the pool<br />No data will be written and all the requests are keep retrying.</p> RADOS - Bug #16500 (Resolved): ceph_erasure_code_benchmark parameter checking error for LRC pluginhttps://tracker.ceph.com/issues/165002016-06-28T03:17:42ZTing-Yi Linwooertim@gmail.com
<p>There's no parameter set could pass the parameter checking in cep_erasure_code_benchmark while using LRC.</p>
<pre><code class="cpp syntaxhl"><span class="CodeRay"><span class="keyword">if</span> (erasure_code->get_data_chunk_count() != (<span class="predefined-type">unsigned</span> <span class="predefined-type">int</span>)k ||
(erasure_code->get_chunk_count() - erasure_code->get_data_chunk_count()
!= (<span class="predefined-type">unsigned</span> <span class="predefined-type">int</span>)m)) {
cout << <span class="string"><span class="delimiter">"</span><span class="content">paramter k is </span><span class="delimiter">"</span></span> << k << <span class="string"><span class="delimiter">"</span><span class="content">/m is </span><span class="delimiter">"</span></span> << m << <span class="string"><span class="delimiter">"</span><span class="content">. But data chunk count is </span><span class="delimiter">"</span></span>
<< erasure_code->get_data_chunk_count() <<<span class="string"><span class="delimiter">"</span><span class="content">/parity chunk count is </span><span class="delimiter">"</span></span>
<< erasure_code->get_chunk_count() - erasure_code->get_data_chunk_count() << endl;
<span class="keyword">return</span> -EINVAL;
}
</span></code></pre>
<p>This checking blocks valid LRC parameters (e.g. k=4, m=2, l=3) and return error. I cannot run LRC benchmark since all the parameter combinations fail in either ceph_erasure_code_benchmark or LRC plugin.</p>
<p>This can be reproduced by<br /><code> $ ceph_erasure_code_benchmark --plugin lrc --workload encode --iterations 1048576 --size 4096 --parameter k=4 --parameter m=2 --parameter l=3 --erasure-code-dir /usr/lib64/ceph/erasure-code/ </code></p>