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

cephfs: fix future rctimes #37938

Closed
wants to merge 2 commits into from
Closed

cephfs: fix future rctimes #37938

wants to merge 2 commits into from

Commits on Jan 14, 2022

  1. cephfs: mtime should not update rctime

    mtime is a user modifiable field and someone can alter it to reflect a modification time in the future or past.
    rctime should be depended only on ctime which itself is system depended (based on how POSIX works).
    By setting an mtime in the future, we render the usage of rctime redundant until the future timestamp is met.
    
    Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
    thmour authored and thmour committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    c5c58ce View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. cephfs: make vxattr ceph.dir.rctime writable

    It is observed that clients have files with invalid ctimes on cephfs.
    Even if those files can be fixed, the parent directories up to the root have their rctime set to an invalid value.
    Make rctime modifiable and let sysadmins fix those invalid rctimes recusively (bottom-up).
    
    Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
    thmour committed Feb 9, 2022
    Configuration menu
    Copy the full SHA
    83d8f09 View commit details
    Browse the repository at this point in the history