Merge lp:~laurynas-biveinis/percona-server/bug1287098 into lp:percona-server/5.6

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 553
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1287098
Merge into: lp:percona-server/5.6
Diff against target: 11 lines (+0/-1)
1 file modified
storage/innobase/fil/fil0fil.cc (+0/-1)
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1287098
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+209258@code.launchpad.net

Description of the change

Fix bug 1287098 (Double fil_system->mutex exit in
fil_extend_space_to_desired_size if posix_fallocate is used)

Remove the spurious mutex_exit call.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storage/innobase/fil/fil0fil.cc'
2--- storage/innobase/fil/fil0fil.cc 2014-03-03 17:51:33 +0000
3+++ storage/innobase/fil/fil0fil.cc 2014-03-04 13:03:58 +0000
4@@ -5119,7 +5119,6 @@
5 #ifdef HAVE_POSIX_FALLOCATE
6 if (srv_use_posix_fallocate) {
7
8- mutex_exit(&fil_system->mutex);
9 success = os_file_set_size(node->name, node->handle,
10 (size_after_extend
11 - file_start_page_no) * page_size);

Subscribers

People subscribed via source and target branches