Project

General

Profile

Feature #43337

fs: support relatime correctly for CephFS

Added by Oliver Freyermuth 11 months ago. Updated 11 months 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.

History

#1 Updated by Patrick Donnelly 11 months ago

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

Also available in: Atom PDF