<div dir="ltr">Hi,<div><br></div><div>In <span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px">dm-3.14-fixes-4, there is a description that :</span></div><div><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px"><br>
</span></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;white-space:pre">- fix corruption with >2TB fast device due to truncation bug</span><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px"><br>
</span></div><div><font color="#333333" face="monospace"><span style="white-space:pre">But looking at the </span></font><font color="#333333" face="monospace"><span style="white-space:pre">diffidence I can't find anything related to such bug.</span></font></div>
<div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;white-space:pre"><br></span></div><div><span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;white-space:pre"><br></span></div><div>
<span style="color:rgb(51,51,51);font-family:monospace;font-size:13px;white-space:pre">I'm asking this, because we are trying to use dm-cache on machine with 2.4 TB SDD cache and after I took following fix:</span></div>
<div><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px">dm-3.14-fixes-1</span><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:13px"><br>
</span></div><div><span style="color:rgb(51,51,51);font-family:sans-serif;font-size:17px;font-weight:bold">dm cache: fix truncation bug when mapping I/O to >2TB fast device</span><span class="" style="color:rgb(51,51,51);font-family:sans-serif;font-size:17px;font-weight:bold"><a class="" href="http://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/tag/?id=dm-3.14-fixes-1" style="color:rgb(0,0,0);text-decoration:none;margin:0px 0.5em 0px 1em;padding:0px 0.25em;background-color:rgb(255,255,136);border:1px solid rgb(119,119,0);font-size:13px">dm-3.14-fixes-1</a></span><br>
</div><div><br></div><div>our cached device got corrupted again.</div><div><br></div><div><br></div><div>My question is: is there another truncation bug discovered?</div><div><br></div><div><br></div><div>I've back ported  <span style="color:rgb(51,51,51);font-family:sans-serif;font-size:12.727272033691406px">dm-3.14-fixes-1 to 3.11.10 kernel, because when we tested </span><a href="http://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/tag/?id=v3.14-rc5" style="font-size:13px;color:black;text-decoration:none;font-family:sans-serif;white-space:nowrap">v3.14-rc5</a> - cached device was corrupted after ~15 minutes and seems to be more unstable. <br>
<br>Meanwhile I'll try to find what happens on >2TB border and eventually will fix it.</div></div>