Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 10:53:06 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/cddl/contrib/opensolaris/cmd/zfs zfs.8 src/sys/cddl/contrib/opensolaris/uts/common/fs gfs.c src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs fletcher.c zfs_acl.c zfs_ctldir.c zfs_vfsops.c zfs_znode.c src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h zio.h ...
Message-ID:  <200909291112.n8TBCFEW055425@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2009-09-29 10:53:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    cddl/contrib/opensolaris/cmd/zfs zfs.8 
    sys/cddl/contrib/opensolaris/uts/common/fs gfs.c 
    sys/cddl/contrib/opensolaris/uts/common/fs/zfs fletcher.c 
                                                   zfs_acl.c 
                                                   zfs_ctldir.c 
                                                   zfs_vfsops.c 
                                                   zfs_znode.c 
    sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h 
                                                       zio.h 
    sys/nfsserver        nfs_serv.c 
  Log:
  SVN rev 197613 on 2009-09-29 10:53:06Z by pjd
  
  MFC r197287, r197289, r197351, r197426, r197458, r197459, r197497, r197498,
  r197512, r197513, r197514, r197515, r197525:
  
  r197287:
  
  Purge namecache for the file system being rolled back, so it doesn't point at
  invalid vnodes after the rollback resulting in EIO errors when trying to access
  files which are in the namecache.
  
  Reported by:    des
  
  r197289:
  
  Purge file system namecache when receiving incremental stream and rolling back
  to it.
  
  r197351:
  
  Purge namecache in the same place OpenSolaris does.
  
  r197426:
  
  Restore BSD behaviour - when creating new directory entry use parent directory
  gid to set group ownership and not process gid.
  
  This was overlooked during v6 -> v13 switch.
  
  PR:     kern/139076
  Reported by:    Sean Winn <sean@gothic.net.au>
  
  r197458:
  
  Close race in zfs_zget(). We have to increase usecount first and then
  check for VI_DOOMED flag. Before this change vnode could be reclaimed
  between checking for the flag and increasing usecount.
  
  r197459:
  
  Before calling vflush(FORCECLOSE) mark file system as unmounted so the
  following vnops will fail. This is very important, because without this change
  vnode could be reclaimed at any point, even if we increased usecount. The only
  way to ensure that vnode won't be reclaimed was to lock it, which would be very
  hard to do in ZFS without changing a lot of code. With this change simply
  increasing usecount is enough to be sure vnode won't be reclaimed from under
  us. To be precise it can still be reclaimed but we won't be able to see it,
  because every try to enter ZFS through VFS will result in EIO.
  
  The only function that cannot return EIO, because it is needed for vflush() is
  zfs_root(). Introduce ZFS_ENTER_NOERROR() macro that only locks
  z_teardown_lock and never returns EIO.
  
  r197497:
  
  Switch to fletcher4 as the default checksum algorithm. Fletcher2 was proven to
  be a bit weak and OpenSolaris also switched to fletcher4.
  
  r197498:        head/cddl/contrib/opensolaris
  
  Fletcher4 is not the default checksum algorithm.
  
  r197512:
  
  - Don't depend on value returned by gfs_*_inactive(), it doesn't work
    well with forced unmounts when GFS vnodes are referenced.
  - Make other preparations to GFS for forced unmounts.
  
  PR:     kern/139062
  Reported by:    trasz
  
  r197513:
  
  Use traverse() function to find and return mount point's vnode instead of
  covered vnode when snapshot is already mounted.
  
  r197514:
  
  On lookup error VFS expects *vpp to be set to NULL, be sure to do that.
  
  r197515:
  
  Handle cases where virtual (GFS) vnodes are referenced when doing forced
  unmount. In that case we cannot depend on the proper order of invalidating
  vnodes, so we have to free resources when we have a chance.
  
  PR:     kern/139062
  Reported by:    trasz
  
  r197525:
  
  Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object.
  This completes the fix from r185586.
  
  PR:     kern/139059
  Reported by:    Daniel Braniss <danny@cs.huji.ac.il>
  Submitted by:   Jaakko Heinonen <jh@saunalahti.fi>
  Tested by:      Daniel Braniss <danny@cs.huji.ac.il>
  
  Approved by:    re (kib)
  
  Revision   Changes    Path
  1.4.2.1    +1 -1      src/cddl/contrib/opensolaris/cmd/zfs/zfs.8
  1.8.2.1    +5 -13     src/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c
  1.2.4.1    +102 -2    src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/fletcher.c
  1.5.2.2    +4 -0      src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h
  1.3.2.1    +1 -1      src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
  1.9.2.1    +1 -1      src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c
  1.14.2.3   +28 -15    src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
  1.18.2.4   +16 -3     src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
  1.24.2.2   +19 -9     src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
  1.195.2.3  +1 -1      src/sys/nfsserver/nfs_serv.c



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