cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Apr 24 16:53:02 UTC 2007


pjd         2007-04-24 16:53:01 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c 
  Log:
  MFp4: Once page is written successfully, we should clear the dirty bits.
  This fixes slow operations on mmaped files, because without this fix,
  pages were written to disk multiple times.
  
  If one is looking for even greater speed up for such operation, he should
  disable ZIL (by setting vfs.zfs.zil_disable to 1 in /boot/loader.conf).
  Disabling ZIL makes fsx run ~9 times faster.
  
  Revision  Changes    Path
  1.8       +3 -0      src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c


More information about the cvs-src mailing list