Project

General

Profile

Actions

Bug #11667

closed

remove duplicate lz4 implementations

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Use one lz4 implementation. That is, move uts/common/fs/zfs/lz4.c to common/lz4/, patch it up to be buildable from kernel, loader and userland and remove unused static bits + comments.

Build cleanups are based on gcc (7,9) and clang80 notes (oi and freebsd) - mostly concerning about alignment changes, const vs non-const.

Testing done: build/install/boot. I have compression=on so the pool access is immediately tested by loader and kernel zfs; the built in loader font and softcore dictionary is decompressed, so both build time compress and boot time decompress are also tested by boot.

Actions

Also available in: Atom PDF