freebsd-dev/cddl
Xin LI 7882b61f60 MFV r268848:
Instead of asserting all zio's be properly aligned, only assert
on the logical ones.

Cap uberblocks at 8k, otherwise with ashift=17, there would be
only one uberblock.

This fixes a problem that zdb would trip assert on pools with
ashift >= 0xe (8k).

While there, also change the code so it only attempt to condense
space map unless the uncondensed size consumes greater than
zfs_metaslab_condense_block_threshold blocks.

Illumos issue:
  4958 zdb trips assert on pools with ashift >= 0xe

MFC after:	2 weeks
2014-07-18 20:41:40 +00:00
..
compat/opensolaris Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
contrib MFV r268848: 2014-07-18 20:41:40 +00:00
lib Remove ia64. 2014-07-07 00:27:09 +00:00
sbin MFV r267565: 2014-07-01 06:43:15 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
usr.bin MFV r267565: 2014-07-01 06:43:15 +00:00
usr.sbin MFV r267565: 2014-07-01 06:43:15 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Do not lint code beyond necessity (with apologies to Wiliam of Ockham). 2010-11-18 16:32:52 +00:00