<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div><br>
</div>
<div>I have observed (via iostat) dm-cache is writing to source device also in write back mode (equivalent to IOS going to cache device) even though cache is filled with 25% cache size.</div>
<div><br>
</div>
<div>Any explanation as to why this behavior when it is expected that none of the IOS (random 4 K writes) should be going to source device in write back mode?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>#Girish_BK</div>
<div><br>
</div>
<div><b><u>Here are test parameters:</u></b></div>
<div>RHEL: 7.0 (3.19 kernel)</div>
<div>Dm-cache policy set to ‘write back’ and cache block size set to 32K.</div>
<div><br>
</div>
<div><span style="color: rgb(31, 73, 125); font-size: 15px;">0 16384000 cache 8 637/2048000 64 17/256000 189 84 84 524204 0 17 0 1 writeback 2 migration_threshold 2048 mq 10 random_threshold 4 sequential_threshold 512 discard_promote_adjustment 1 read_promote_adjustment
 4 write_promote_adjustment 8</span></div>
<div><br>
</div>
<div>Test run was with fio: Random 4K write (100%)  </div>
<div><br>
</div>
<div><br>
</div>
<br>
</body>
</html>