lvmsync icon indicating copy to clipboard operation
lvmsync copied to clipboard

Linux may cache a stale copy of block device

Open KimEbert42 opened this issue 7 years ago • 0 comments

Linux may cache a stale copy of the block device. To work around the issue, you could use O_DIRECT or flush the buffers for the lvm blockdev --flushbufs /dev/mapper/snapshot_cow before reading the values to ensure getting a more up to date value.

KimEbert42 avatar Aug 13 '18 19:08 KimEbert42