Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24045

Swtich to use mysql_file_pread/pwrite instead of mysql_file_read/write while reading and writing to IO_CACHE wherever feasible

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Server
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varun Varun Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.