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

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

          jplindst Jan Lindström (Inactive) created issue -
          jplindst Jan Lindström (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]

          commit 4ddb9deaf30bf3be664f3427f0b5393dc5a6c09c

          jplindst Jan Lindström (Inactive) added a comment - commit 4ddb9deaf30bf3be664f3427f0b5393dc5a6c09c
          jplindst Jan Lindström (Inactive) made changes -
          Fix Version/s 10.1.14 [ 21804 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Description Repeated using RAID and strace:

          {noformat}
          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
          {noformat]
          Repeated using RAID and strace:

          {noformat}
          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
          {noformat}
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 74706 ] MariaDB v4 [ 150276 ]

          People

            jplindst Jan Lindström (Inactive)
            jplindst Jan Lindström (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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