]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/commit
MFS r273191: MFC r273060:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Oct 2014 22:20:38 +0000 (22:20 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Oct 2014 22:20:38 +0000 (22:20 +0000)
commit21f41ccfe36964c62ad27cd859a2aad4f44e81bd
treedc9027eabd1b14d6e1a3809e182fc03254cb1e1d
parentc8d3a14834919284bac255064c59fc258b1e0bd6
MFS r273191: MFC r273060:

Use write_psize instead of write_asize when doing vdev_space_update.
Without this change the accounting of L2ARC usage would be wrong and
give 16EB free space because the number became negative and overflows.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/releng/10.1@273192 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c