Issue is already being track by Jan, just summarizing some offline discussions with Jan..
Code in “storage/innobase/os/os0file.cc” is currently tuned for 512Byte sector size and the same need to be support file-system block-size 4K/8K/other sector sizes.
Required set of changes..
- call to fstat/fstatvfs() be added for the first invocation of fallocate() on individual file/table enabled for NVM compression.
- queried “st_blksize/f_bsize” be used to determine
— required alignments for file I/O block size.
— required alignment for the PTRIM as required.
- Any subsequent io_submit/PTRIM uses the per-file, stashed values for alignment.
This should be a gating item for the release.
Issue is already being track by Jan, just summarizing some offline discussions with Jan..
Code in “storage/innobase/os/os0file.cc” is currently tuned for 512Byte sector size and the same need to be support file-system block-size 4K/8K/other sector sizes.
Required set of changes..
— required alignments for file I/O block size.
— required alignment for the PTRIM as required.
This should be a gating item for the release.