[Gluster-devel] ec_about_ensure_durability

deming jia jiademing.dd at gmail.com
Wed Nov 15 05:55:19 UTC 2023


Hi,

    glusterfs/xlator/cluster/EC  has no ensure_durability option, like AFR:

    /* Check whether users want durability and perform fsync/post-op
     * accordingly.
     */
    if (priv->ensure_durability) {
        /* Time to fsync() */
        afr_changelog_fsync(frame, this);
    } else {
        afr_changelog_post_op_now(frame, this);
    }

   This may cause problems with “Write hole”  when power cut. Is there
any other similar logic in ec?
Will  consider adding similar logic in the future?

  Looking forward to hearing from you

Jiademing.dd
2023.11.15


More information about the Gluster-devel mailing list