Project

General

Profile

Bug #10436

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

Added by Zheng Yan about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/28/2014
Due date:
% Done:

0%

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

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 3 years ago

client: flush kernel pagecache before creating snapshot

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

History

#1 Updated by Greg Farnum about 4 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 3 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 3 years ago

  • Status changed from Verified to Feedback

#4 Updated by Zheng Yan about 3 years ago

  • Status changed from Feedback to In Progress

#5 Updated by Zheng Yan about 3 years ago

  • Status changed from In Progress to Need Review

#6 Updated by Greg Farnum about 3 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF