Bug #72809 InnoDB Linux native aio setup missing barrier after setup
| Submitted: | 30 May 2014 7:20 | Modified: | 16 Sep 2014 23:15 |
|---|---|---|---|
| Reporter: | Stewart Smith | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
| Version: | 5.6, 5.7 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | MySQL, PowerPC | ||
[30 May 2014 7:20]
Stewart Smith
[30 May 2014 7:21]
Stewart Smith
Memory barrier after InnoDB native Linux AIO setup (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: innodb-aio-barriers.patch (text/x-patch), 365 bytes.
[30 May 2014 8:09]
MySQL Verification Team
Hello Stewart, Thank you for the report and contribution. Thanks, Umesh
[16 Sep 2014 23:15]
Daniel Price
Fixed as of the upcoming 5.6.22 and 5.7.6 releases, and here's the changelog entry: For explicit cache coherency, a write barrier was added to the head of "os_thread_create_func()", and a read barrier was added to before the assertion code in "rw_lock_free_func()". This bug fix also address Bug #62692. Thank you for the bug report.
[10 Dec 2014 13:03]
Laurynas Biveinis
$ bzr log -r 6163 ------------------------------------------------------------ revno: 6163 committer: Yasufumi Kinoshita <yasufumi.kinoshita@oracle.com> branch nick: mysql-5.6 timestamp: Tue 2014-09-16 16:46:24 +0900 message: Some memory barrier were added for non-intel architecture (POWER, ARM, etc..) Bug#18870970 : INNODB LINUX NATIVE AIO SETUP MISSING BARRIER AFTER SETUP (Bug#72809) For explicit cache coherency with the parent thread, write barrier is added to the head of os_thread_create_func() Bug#13364876 : RW_LOCK_FREE MIGHT CAUSE ASSERTION FAILURE BY RACE CONDITION (Bug#62692) For explicit cache coherency with the other thread, read barrier is added to before the assertion codes at rw_lock_free_func() Approved by Vasil in rb#6255
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 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.