/[base]
ViewVC logotype

Revision 290766


Jump to revision: Previous Next
Author: mav
Date: Fri Nov 13 09:52:36 2015 UTC (8 years, 7 months ago)
Changed paths: 2
Log Message:
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>


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27