Project

General

Profile

Actions

Feature #43337

open

fs: support relatime correctly for CephFS

Added by Oliver Freyermuth over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

As of now, CephFS does not seem to handle atime.

The relatime mount option (since Linux 2.6.30) is meant to not only adapt the atime to mtime/ctime, but will also bump the atime when an access happens after 24 hours.
There is one major use case for this we are interested in:
Find old data not read anymore. This use case probably applies to most long-lived clusters with actual users who tend not to clean up, but keep data forever even if not needed anymore.
From a more positive viewpoint, it can also help users themselves to clean up.

Bumping the atime at maximum once per day (as is done for other FS) seems reasonable for performance reasons and does not destroy this use case.

Actions #1

Updated by Patrick Donnelly over 4 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from [Bug/Feature] Support relatime correctly for CephFS to fs: support relatime correctly for CephFS
Actions

Also available in: Atom PDF