Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-854

Linux 6.13+ kernel to support Atomic Write development/testing

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Buildbot
    • Sprint 6 (24.03.2025)

    Description

      MDEV-35609 requests Atomic writes. This would facilitate the development of MariaDB utilizing the latest available technology from the Linux Kernel.

      Kernel Image (to save building one ourselves):

      As innovation will be in innodb a mtr of the innodb test suite is desired.

      Tests to cover:

      • xfs and ext4
      • An 8k sector size and a 16k min atomic size should be able to cover 4k to 64k innodb pages sizes the the appropriate boundaries of each.

      The scsi_debug module allows the construction of a fake capable atomic write

      Instructions:

      scsi_debug args:

      • dev_size_mb=3600 (based on 2.3G observed during mysql-test/mtr --suite=innodb --parallel=16 --vardir=$(mktemp -d))
      • atomic_rw - 1 (enable)
      • sector_size=8192
      • atomic_wr_align=2 (blocks of sector size so 16k)
      • atomic_wr_gran=2 (blocks of sector size so 16k)

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.5h
                  1.5h