Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux may cache a stale copy of block device #58

Open
KimEbert42 opened this issue Aug 13, 2018 · 0 comments
Open

Linux may cache a stale copy of block device #58

KimEbert42 opened this issue Aug 13, 2018 · 0 comments

Comments

@KimEbert42
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant