Bug 64327

Summary: kernel doesn't honor O_SYNC on open
Product: [Retired] Red Hat Public Beta Reporter: David Mansfield <bugzilla>
Component: kernelAssignee: Larry Woodman <lwoodman>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: pensacolaCC: sct
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-02 17:17:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Mansfield 2002-05-02 15:01:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020308

Description of problem:
I have a test benchmark that I've been running on various systems.  When I run
it on pensacola, it scores about 1500% better, but it's because it isn't
honoring the O_SYNC on open.  I can verify this because: 

1) the score is the same with or without the flag
2) adding an fdatasync() call slows it down to the same level as
on other systems
3) I/O continues long after the process has terminated, and ps shows kupdated
doing the writing.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. open a file with O_SYNC and notice that it's not.
2.
3.
	

Actual Results:  asynchronous file writes

Expected Results:  synchronous file writes

Additional info: