Project

General

Profile

Bug #262

osd: make sync work on ext4

Added by Sage Weil over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
Start date:
07/07/2010
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

FileStore currently does a single fsync() to push all dirty data to disk (data=ordered(/journal?)) behavior. ext4 doesn't do that, so we need to do something else...

History

#1 Updated by Sage Weil over 8 years ago

BLKFLSBUF ioctl?

#2 Updated by Sage Weil over 8 years ago

  • Target version set to v0.22

#3 Updated by Sage Weil over 8 years ago

we could do a quick FREEZE/THAW sequence, but only if we're root.

a simple SYNCFS ioctl would be ideal...

#4 Updated by Sage Weil over 8 years ago

  • Status changed from New to Resolved

the flush issue is resolved by using a big sync(2) hammer. sucks, but that's currently what it takes. hopefully we'll get FS_IOC_SYNCFS upstream.

6b93dc97753c9991d8cce59a783ee64ea441150c

Also available in: Atom PDF