Project

General

Profile

Bug #10436

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

Added by Zheng Yan about 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.

Associated revisions

Revision bd611ab1 (diff)
Added by Yan, Zheng about 8 years ago

client: flush kernel pagecache before creating snapshot

Fixes: #10436
Signed-off-by: Yan, Zheng <>

History

#1 Updated by Greg Farnum about 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

#2 Updated by Greg Farnum about 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.

#3 Updated by Zheng Yan about 8 years ago

  • Status changed from 12 to 4

#4 Updated by Zheng Yan about 8 years ago

  • Status changed from 4 to In Progress

#5 Updated by Zheng Yan about 8 years ago

  • Status changed from In Progress to Fix Under Review

#6 Updated by Greg Farnum about 8 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF