Project

General

Profile

Actions

Bug #10436

closed

ceph-fuse: snapshot flushing from page cache to Client is not coherent

Added by Zheng Yan over 9 years ago. Updated about 8 years ago.

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

0%

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

Description

fuse kernel module has no understanding of snapshot. It does not flush data when snapshot is created. Besides the fuse kernel modules drop dirty data after snapshotted file is unlinked.

maybe ceph-fuse should ask kernel to flush all dirty data on every snapshots.

Actions #1

Updated by Greg Farnum over 9 years ago

Just to be clear, the problem here is that
1) there is dirty data in the page cache
2) a snapshot happens
3) ceph-fuse tags all its data appropriately for writeback
4) the page cache is flushed into ceph-fuse
50 ceph-fuse sees this is a post-snapshot write

Actions #2

Updated by Greg Farnum over 8 years ago

  • Subject changed from ceph-fuse: snaptest-snap-rm-cmp.sh fails occasional to ceph-fuse: snapshot flushing from page cache to Client is not coherent
  • Description updated (diff)

Once this is fixed we need to re-enable snaptest-snap-rm-cmp.sh in the snaptests.yaml qa-suite config fragment.

Actions #3

Updated by Zheng Yan about 8 years ago

  • Status changed from 12 to 4
Actions #4

Updated by Zheng Yan about 8 years ago

  • Status changed from 4 to In Progress
Actions #5

Updated by Zheng Yan about 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Greg Farnum about 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF