<p><br><br>Hello,</p><p>I'm reading the dm-cache code.I notice that before a bio is remapped and sent to the "real" device.the function "dm_deferred_entry_inc" will be invoked.And when a migration initiated ,the function "dm_deferred_set_add_work"  will be invoked to determine whether start the migration immediately.I guess those operation are used to ensure some sort of synchronization.But i'm not sure which kind of synchronization it can ensure and why.</p><p>Or my understanding is completely wrong . they are not at all used for synchronization?</p><p>Can anyone help me about this question?Thanks,</p><p>Yuanjiang Ni</p><p> </p><span></span><br><br><br>