]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r268420:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jul 2014 14:55:45 +0000 (14:55 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jul 2014 14:55:45 +0000 (14:55 +0000)
commit1e993f5f20184fba199bc95a53af497010d8f3f8
tree6751693127075b4542707685aa37c753bd4abccb
parent5345ff6027be21cacdae7ca4f41a29d53fcee64c
MFC r268420:
Remove IO_SYNC flag when writing extended file attributes on ZFS.

While it is possible to create and write file, modify its permissions, etc.
without ever doing sync, it looks odd that it is required for setting
extended file attributes on ZFS.  UFS does not do sync there too.

Samba uses those extended attributes to store some its data, and doing it
synchronously by many times reduces file creation performance for systems
without SLOG device.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269061 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c