summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat/opensolaris/kern
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-11-13 09:52:36 +0000
committermav <mav@FreeBSD.org>2015-11-13 09:52:36 +0000
commit81474285a02c7f2c7986e05ff7918f8d3edf8182 (patch)
treeff653775ca71802c7356c935ccc8f62ba377694c /sys/cddl/compat/opensolaris/kern
parent0c1b5030892b03c2716d871a9fbdc0c94fd3c80d (diff)
downloadFreeBSD-src-81474285a02c7f2c7986e05ff7918f8d3edf8182.zip
FreeBSD-src-81474285a02c7f2c7986e05ff7918f8d3edf8182.tar.gz
MFC r290191 (by avg):
l2arc: do not call trim_map_free() for blocks with zero b_asize b_asize can be zero if the block is compressed into an empty block (ZIO_COMPRESS_EMPTY) and the trim code asserts that meaningless zero-sized trimming is not attempted. The logic for calling trim_map_free() is extracted into a new function l2arc_trim() to minimize code duplication. PR: 203473 Reported by: Willem Jan Withagen <wjw@digiware.nl> Tested by: Willem Jan Withagen <wjw@digiware.nl>
Diffstat (limited to 'sys/cddl/compat/opensolaris/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud