freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Xin LI 7d073f8411 MFV r275914:
As of r270383, the dbuf_compare comparator compares the dbuf
attributes in the following order:

	db_level (indirect level)
	db_blkid (block number)
	db_state (current state)
	the address of the element

Because db_state is being considered before the element's state,
changing of db_state would affect balancedness of the AVL tree,
even when the address of element compares differently.  For
instance, in dbuf_create, db_state may be altered after the
node is inserted into the AVL tree and may break AVL tree
balancedness.

Instead of using db_state as a comparision critera (introduced
in r270383), consider it only when we are doing a lookup, that
is one of the two dbuf pointers contains DB_SEARCH.

Illumos issue:
    5422 preserve AVL invariants in dn_dbufs

MFC after:	2 weeks
2014-12-18 23:45:26 +00:00
..
sys MFV r275783: 2014-12-15 18:22:45 +00:00
arc.c MFV r275783: 2014-12-15 18:22:45 +00:00
blkptr.c MFV r267565: 2014-07-01 06:43:15 +00:00
bplist.c
bpobj.c MFV r274273: 2014-11-10 08:20:21 +00:00
bptree.c MFV r274273: 2014-11-10 08:20:21 +00:00
dbuf.c MFV r275783: 2014-12-15 18:22:45 +00:00
ddt_zap.c
ddt.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
dmu_diff.c MFV r275783: 2014-12-15 18:22:45 +00:00
dmu_object.c MFV r272804: 2014-10-09 07:52:51 +00:00
dmu_objset.c MFV r275783: 2014-12-15 18:22:45 +00:00
dmu_send.c MFV r275783: 2014-12-15 18:22:45 +00:00
dmu_traverse.c MFV r275783: 2014-12-15 18:22:45 +00:00
dmu_tx.c MFV r275551: 2014-12-15 07:52:23 +00:00
dmu_zfetch.c Make sysctls under vfs.zfs.zfetch writeable. 2014-07-26 09:09:14 +00:00
dmu.c MFV r272804: 2014-10-09 07:52:51 +00:00
dnode_sync.c MFV r275544: 2014-12-13 01:18:23 +00:00
dnode.c MFV r275914: 2014-12-18 23:45:26 +00:00
dsl_bookmark.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_dataset.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_deadlist.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_deleg.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_destroy.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_dir.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_pool.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_prop.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_scan.c MFV r275783: 2014-12-15 18:22:45 +00:00
dsl_synctask.c MFV r275551: 2014-12-15 07:52:23 +00:00
dsl_userhold.c MFV r275551: 2014-12-15 07:52:23 +00:00
gzip.c
lz4.c Introduce allocation cache to store LZ4 compression contexts without kicking 2013-11-14 15:54:54 +00:00
lzjb.c Improve lzjb decompress performance by reorganizing the code 2013-10-08 01:38:24 +00:00
metaslab.c MFV r275540: 2014-12-08 06:04:42 +00:00
range_tree.c MFV r272495: 2014-10-04 08:14:10 +00:00
refcount.c
rrwlock.c Reduce lock contention on the z_teardown_lock under heavily cached 2014-07-19 00:26:03 +00:00
sa.c MFV r275551: 2014-12-15 07:52:23 +00:00
sha256.c
spa_config.c Enhance the ZFS vdev layer to maintain both a logical and a physical 2013-08-21 04:10:24 +00:00
spa_errlog.c MFV r268119: 2014-07-01 21:51:30 +00:00
spa_history.c MFV r275551: 2014-12-15 07:52:23 +00:00
spa_misc.c Add a tunable for spa_slop_shift which controls how much space we 2014-11-18 18:52:38 +00:00
spa.c MFV r275551: 2014-12-15 07:52:23 +00:00
space_map.c Add tunable vfs.zfs.space_map_blksz for space map's maximum block size. 2014-10-18 22:11:10 +00:00
space_reftree.c MFV r258371,r258372: 4101 metaslab_debug should allow for fine-grained control 2013-11-28 19:37:22 +00:00
THIRDPARTYLICENSE.lz4
THIRDPARTYLICENSE.lz4.descrip
trim_map.c Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
txg.c MFV r268851: 2014-07-18 22:34:01 +00:00
uberblock.c MFV r275550: 2014-12-15 05:10:55 +00:00
unique.c
vdev_cache.c MFC r270195: 2014-08-20 21:44:48 +00:00
vdev_disk.c Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
vdev_file.c Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
vdev_geom.c Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
vdev_label.c Disable TRIM on file backed ZFS vdevs and fix TRIM on init 2014-11-17 11:32:10 +00:00
vdev_mirror.c MFV r274272 and diff reduction with upstream. 2014-11-09 07:37:00 +00:00
vdev_missing.c MFV r274272 and diff reduction with upstream. 2014-11-09 07:37:00 +00:00
vdev_queue.c MFV r274273: 2014-11-10 08:20:21 +00:00
vdev_raidz.c MFV r274273: 2014-11-10 08:20:21 +00:00
vdev_root.c Enhance the ZFS vdev layer to maintain both a logical and a physical 2013-08-21 04:10:24 +00:00
vdev.c MFV r275540: 2014-12-08 06:04:42 +00:00
zap_leaf.c MFV r275551: 2014-12-15 07:52:23 +00:00
zap_micro.c MFV r275551: 2014-12-15 07:52:23 +00:00
zap.c MFV r275551: 2014-12-15 07:52:23 +00:00
zfeature.c Fix build on platforms where atomic_swap_64 is not available. 2014-01-02 03:24:44 +00:00
zfs_acl.c Enable kernel-specific code for FreeBSD also on other systems that use 2013-06-30 23:14:55 +00:00
zfs_byteswap.c
zfs_ctldir.c This change addresses 4 bugs in ZFS exposed by Richard Kojedzinszky's 2014-10-25 17:42:44 +00:00
zfs_debug.c MFV r268848: 2014-07-18 20:41:40 +00:00
zfs_dir.c MFV r268452: 2014-07-09 18:32:40 +00:00
zfs_fm.c
zfs_fuid.c
zfs_ioctl.c MFV r275551: 2014-12-15 07:52:23 +00:00
zfs_log.c MFV r274273: 2014-11-10 08:20:21 +00:00
zfs_onexit.c Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
zfs_replay.c
zfs_rlock.c MFV r251620: 2013-06-11 19:12:06 +00:00
zfs_sa.c MFV r251620: 2013-06-11 19:12:06 +00:00
zfs_vfsops.c MFV r274273: 2014-11-10 08:20:21 +00:00
zfs_vnops.c The VOP_LOOKUP() implementations for CREATE op do not put the name 2014-12-18 10:01:12 +00:00
zfs_znode.c MFV r274273: 2014-11-10 08:20:21 +00:00
zfs.conf
zil.c MFV r275783: 2014-12-15 18:22:45 +00:00
zio_checksum.c MFV r254750: 2013-09-21 00:17:26 +00:00
zio_compress.c As of r268075, the responsibility of rounding up buffer to optimal size have 2014-07-25 06:53:20 +00:00
zio_inject.c MFC r270195: 2014-08-20 21:44:48 +00:00
zio.c MFV r275783: 2014-12-15 18:22:45 +00:00
zle.c
zrlock.c
zvol.c Add GET LBA STATUS command support to CTL. 2014-12-04 11:34:19 +00:00