openzfs/zfs

Add dirsync support

開放

#4,366 建立於 2016年2月24日

 (2 則留言) (0 個反應) (0 位負責人)C (1,703 個分叉)batch import
Type: Featuregood first issue

倉庫指標

星標
 (9,908 顆星)
PR 合併指標
 (平均合併 5天 21小時) (30 天內合併 62 個 PR)

描述

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.

貢獻者指南