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

Log files are opened using O_DIRECT causing problems if block size != 512

    XMLWordPrintable

    Details

      Description

      Repeated using RAID and strace:

      open("./ib_logfile0", O_RDWR)           = 3
      fcntl(3, F_SETFL, O_RDONLY|O_DIRECT)    = 0
      strace ./mysqld --innodb_flush_method=O_DIRECT >& /tmp/log
      read(8, "\0\0\0\0\0\0\4\f\0\0\0\1\6\303\247\326\4\306E\326\1\0\0\0\377\377\377\377\377\377\377\377"..., 512, 512) = 512
      

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            jplindst Jan Lindström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: