Skip to content

High: stale/epoch protection is bypassed by file descriptor caches #30

@congwang-mk

Description

@congwang-mk

is_stale() compares manager epoch to the mount’s local epoch at fs.rs (line 163), but the read fast path at fs.rs (line 543) and write fast path at fs.rs (line 671) reuse cached files without checking manager epoch. A commit/abort from another mount can leave this mount reading or writing an old backing file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions