openzfs/zfs

Add dirsync support

オープン

#4,366 opened on 2016/02/24

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C (1,703 件のフォーク)batch import
Type: Featuregood first issue

Repository metrics

Stars
 (9,908 個のスター)
PR merge metrics
 (平均マージ 5d 21h) (30d で 62 merged PRs)

説明

Add support for the Linux dirsync mount option as described in the mount(8) man page.

       dirsync
              All  directory updates within the filesystem should be done syn‐
              chronously.  This affects the  following  system  calls:  creat,
              link, unlink, symlink, mkdir, rmdir, mknod and rename.

It would be nice to support this standard Linux mount option. The most logical place to to go about this would be to extend the existing filesystem sync property to include a directory setting. Of course the downside is that this would result in a compatibility issue with the other openZFS platforms. Other solutions are definitely possible and should be investigated.

コントリビューターガイド