On 02/19/2012 02:40 PM, Ori Mamluk wrote: > > I think it might be better to go back to my original less generic design. > We can regard it as a 'plugin' for a specific application - in this > case, replication. > I can add a plugin interface in the generic block layer that allows > building a proper storage stack. > The plugin will have capabilities like a filter driver - getting hold of > the request on its way down (from VM to storage) and on its way up (IO > completion), allowing to block or stall both.
I and Stefan talked about this recently... we called it a BlockListener. It seems like a good idea, and probably copy-on-read should be converted in due to time to a BlockListener, too. Paolo