Project

General

Profile

Actions

Bug #35916

closed

mds: rctime may go back

Added by Zheng Yan over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

code like below can cause rctime to go back

if (new_mtime > pi.inode.ctime)
pi.inode.ctime = pi.inode.rstat.rctime = new_mtime;

The reason is that clients' time is not reliable.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #36135: luminous: mds: rctime may go backResolvedNathan CutlerActions
Copied to CephFS - Backport #36136: mimic: mds: rctime may go backResolvedNathan CutlerActions
Actions

Also available in: Atom PDF