Open reflectivedevelopment opened 5 years ago
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.
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.