Skip to content

Linux may cache a stale copy of block device #58

@KimEbert42

Description

@KimEbert42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions