Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 12:58:17 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Message-ID:  <200704261258.l3QCwHnU022607@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704261258.l3QCwHnU022607>