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

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Apr 26 12:58:18 UTC 2007


pjd         2007-04-26 12:58:17 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c 
  Log:
  - Always try to write one whole page at a time.
  - vm_page_undirty() is enough (instead of vm_page_set_validclean()), but it has
    to be called before we write the data in case someone makes page dirty after
    our write, but before our vm_page_undirty() call.
  - Always dmu_write, not matter if uiomove() succeeded, because it could
    partially be ok and we would lose some changes.
  
  All good ideas from:    ups
  
  Revision  Changes    Path
  1.10      +9 -7      src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c


More information about the cvs-src mailing list