Hi,<br><br>I suppose "dmsetup remove' will invoke dtr of target_type to remove the device.<br><br>However, I use "dmsetup remove" hundreds times, as the debug info, but it never enter the dtr function I defined.<br>
<br>Anybody have idea on this? Or how to dig into that to discover the reason? Thanks.<br><br>To be of more details, I have cache_target as below.<br>static struct target_type cache_target = {<br>...<br> .dtr = cache_dtr,<br>
...<br>};<br>I add debug info into cache_dtr, it show it never enter into cache_dtr when I "dmsetup remove".<br><br>Thanks again,<br>Alan<br><br>