[MDEV-24045] Swtich to use mysql_file_pread/pwrite instead of mysql_file_read/write while reading and writing to IO_CACHE wherever feasible Created: 2020-10-28  Updated: 2021-10-12

Status: Open
Project: MariaDB Server
Component/s: Server
Fix Version/s: None

Type: Task Priority: Major
Reporter: Varun Gupta (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-23867 insert... select crash in compute_win... Closed

 Description   

The idea here is to switch to use mysql_file_pread/mysql_file_pwrite instead of mysql_file_read/mysql_file_write so that there would be no need to do a seek everytime one reads or writes to a file.

This would help us remove the calls to mysql_file_seek (most of the calls) because pread rdoes not change the file offset and one can just provide the offset to pread and then we would read the data from that offset.


Generated at Thu Feb 08 09:27:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.