Project

General

Profile

Actions

Bug #52982

closed

client: Inode::hold_caps_until should be a time from a monotonic clock

Added by Patrick Donnelly over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
task(easy), task(intern)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The use of the real clock is vulnerable to system clock changes that could prevent release of any caps.

Use ceph::coarse_mono_clock and ceph::coarse_mono_time. See src/mds for uses.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #55936: quincy: client: Inode::hold_caps_until should be a time from a monotonic clockResolvedNeeraj Pratap SinghActions
Copied to CephFS - Backport #55937: pacific: client: Inode::hold_caps_until should be a time from a monotonic clockResolvedNeeraj Pratap SinghActions
Actions #1

Updated by Neeraj Pratap Singh over 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Venky Shankar about 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 44247
Actions #3

Updated by Venky Shankar about 2 years ago

  • Backport changed from pacific to pacific,quincy
Actions #4

Updated by Venky Shankar almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version changed from v17.0.0 to v18.0.0
  • Backport changed from pacific,quincy to quincy, pacific
Actions #5

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55936: quincy: client: Inode::hold_caps_until should be a time from a monotonic clock added
Actions #6

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55937: pacific: client: Inode::hold_caps_until should be a time from a monotonic clock added
Actions #7

Updated by Neeraj Pratap Singh almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF