Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19831

add EXT4_IOC_GET/SET_TUNE_SB_PARAM to tune ldiskfs parameters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      ioctl(EXT4_IOC_GET_TUNE_SB_PARAM) and ioctl(EXT4_IOC_SET_TUNE_SB_PARAM) allow getting and setting the ldiskfs superblock tunable parameters on a mounted filesystem by tune2fs via ioctl with instead of writing directly to the block device.

      This avoids race conditions during read-modify-write of the whole superblock, and the need to directly write to the block device while the filesystem is mounted, which also avoids complications with Multi-Mount Protection.

      There are a couple of ext4 patches to add the ioctl() handling:

      and a second series to add tune2fs handling:

      Since these are already slated for upstream landing, it wouldn't be a huge burden to add them to ldiskfs.

      Attachments

        Activity

          People

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: