]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/groff/font/devps/HNR
MFV r318931: 8063 verify that we do not attempt to access inactive txg
authorAndriy Gapon <avg@FreeBSD.org>
Fri, 26 May 2017 11:37:11 +0000 (11:37 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Fri, 26 May 2017 11:37:11 +0000 (11:37 +0000)
commit0a07ea0e2f4aa4dd4c37181ef027f34d6c5a4bde
treecba86c1572aa5bfa470d439b9970042bc62f64a1
parent28c5e43e3673f2a2aa6c495995ac7ee55f04811e
parentf9e7ac9d61ffd388511b2124e52c490a44ba019a
MFV r318931: 8063 verify that we do not attempt to access inactive txg

illumos/illumos-gate@b7b2590dd9f11b12a0b4878db3886068cce176af
https://github.com/illumos/illumos-gate/commit/b7b2590dd9f11b12a0b4878db3886068cce176af

https://www.illumos.org/issues/8063
  A standard practice in ZFS is to keep track of "per-txg" state. Any of
  the 3 active TXG's (open, quiescing, syncing) can have different values
  for this state. We should assert that we do not attempt to modify other
  (inactive) TXG's.

Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Matthew Ahrens <mahrens@delphix.com>

MFC after: 2 weeks
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/txg.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c