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 #1

Updated by Zheng Yan over 5 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Zheng Yan over 5 years ago

/ceph/teuthology-archive/pdonnell-2018-09-08_06:58:28-kcephfs-wip-pdonnell-testing-20180908.044939-distro-basic-smithi/2994828/teuthology.log

Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Subject changed from rctime may go back to mds: rctime may go back
  • Assignee set to Zheng Yan
  • Priority changed from Normal to High
  • Target version set to v14.0.0
  • Source set to Q/A
  • Backport set to mimic,luminous
  • Component(FS) MDS added
Actions #4

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 5 years ago

Actions #6

Updated by Nathan Cutler over 5 years ago

Actions #7

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF