Bug #31027 should use O_SYNC on innodb data files for VxFS

Submitted: 14 Sep 2007 9:50 Modified: 13 May 2010 16:04
Reporter: River Tarnell Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S4 (Feature request)
Version:5.0.42 OS:Solaris
Assigned to: Assigned Account CPU Architecture:Any

[14 Sep 2007 9:50] River Tarnell
Description:
To enable direct I/O (unbuffered) when using VxFS, the usual method is for the application (InnoDB) to open the file with O_SYNC, and the filesystem to be mounted with the "convosync=direct" option.  InnoDB does not open data files with O_SYNC, only log files, even when innodb_flush_method = O_DIRECT is specified.  Contrary to what the manual says, "convosync=direct" does _not_ help performance in this case.

How to repeat:
N/A

Suggested fix:
Add an additional innodb_flush_method which causes data files as well as log files to be opened with O_SYNC.
[16 Sep 2007 5:33] Valeriy Kravchuk
Thank you for a reasonable feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.