On May,Tuesday 18 2010, at 5:42 PM, Matthias Scheler wrote:

> On Tue, May 18, 2010 at 03:10:41PM +0000, Adam Hamsik wrote:
>> Log Message:
>> Add support for DIOCCACHESYNC ioctl for dm devices. Add new sync function
>> pointer to dm_target_t because that is the only part of dm which know real
>> block device. disk_ioctl_switch parses whole device table and for every
>> entry it calls particular sync routine which propagates DIOCCACHESYNC
>> to real disk.
> What happens if a logical volume consists of two slice of one physical
> device? Will the physical device get flushed twice?

Yes and there is no easy way how to not do that.



Reply via email to