Project

General

Profile

Actions

Bug #262

closed

osd: make sync work on ext4

Added by Sage Weil almost 14 years ago. Updated over 13 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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...

Actions #1

Updated by Sage Weil almost 14 years ago

BLKFLSBUF ioctl?

Actions #2

Updated by Sage Weil over 13 years ago

  • Target version set to v0.22
Actions #3

Updated by Sage Weil over 13 years ago

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

a simple SYNCFS ioctl would be ideal...

Actions #4

Updated by Sage Weil over 13 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

Actions

Also available in: Atom PDF