Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Obtained from: FreeNAS (issue openzfs#6239) MFC after: 2 weeks fixes ZFS on Linux: openzfs#3114 openzfs#3400
- Loading branch information