Project

General

Profile

Actions

Bug #17914

open

ObjectCacher doesn't handle snapshot+truncate properly

Added by Zheng Yan over 7 years ago. Updated about 5 years ago.

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

0%

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

Description

When truncating file, we should not drop dirty data that were created before snapshot. But it seems ObjectCacher::discard_set drop dirty buffer heads unconditionally.

Actions #1

Updated by Zheng Yan over 7 years ago

  • Subject changed from ObjectCache doesn't handle snapshot+truncate properly to ObjectCacher doesn't handle snapshot+truncate properly
Actions #2

Updated by John Spray over 7 years ago

  • Category set to 89
  • Component(FS) osdc added
Actions #3

Updated by Patrick Donnelly about 5 years ago

  • Labels (FS) snapshots added
Actions #4

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (89)
Actions

Also available in: Atom PDF