[dm-devel] Is there a way to see updated contents of a DM target's underlying device while the DM target is in use?

Malahal Naineni malahal at us.ibm.com
Thu Jul 1 00:58:11 UTC 2010


Neil Brown [neilb at suse.de] wrote:
> try blockdev --flushbufs
> on the device before reading it.
> Or issue the ioctl yourself.

This should help.

> Or use O_DIRECT to read.

Can this help? He is reading from logical volume lv1 but the page cache
exists for linear device fred01.

Thanks, Malahal.




More information about the dm-devel mailing list