Project

General

Profile

Actions

Bug #1946

closed

snapshot inherits timestamp/size/etc from modified trunk dir upon mds restart

Added by Alexandre Oliva over 12 years ago. Updated over 11 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

mkdir .snap/name
ls -ld . .snap/name
  1. both have the same timestamp
    touch .
    ls -ld . .snap/name
  2. now . has a different timestamp from the snapshot
  1. Now unmount the filesystem, restart the mds, re-mount it and enter the directory again
ls -ld . .snap/name
  1. now both have the same timestamp again, and it's the newer timestamp
Actions

Also available in: Atom PDF