-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5.36, 10.0.8
-
Component/s: None
-
Labels:None
-
Environment:Fusion-IO SSD
Currently size is set like:
current_size = 0;
desired_size = (ib_int64_t)size + (((ib_int64_t)size_high) << 32);
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
if (posix_fallocate(file, current_size, desired_size) == -1) {
Thus file size is always extended from offset 0 to desired offset. This is clearly slower than doing
posix_fallocate(real_current_size, desired_size)
- relates to
-
MDEV-5878 Failing assertion: mutex_own(mutex) with innodb_use_fallocate=ON
-
- Closed
-
-
MDEV-11520 Extending an InnoDB data file unnecessarily allocates a large memory buffer on Windows
-
- Closed
-
-
MDEV-14244 MariaDB 10.2.10 fails to run on Debian Stretch with ext3 and O_DIRECT
-
- Closed
-