[PATCH 0/8] ntfs: add Windows system compression support

Hyunchul Lee <[email protected]>
Newsgroups dev.linux.lists.ntfs
Message-ID <[email protected]>
This series adds Windows system compression support to the NTFS driver.

Windows system compression more aggressively compresses system files,
such as binaries and DLLs, using XPRESS or LZX.  It is intended for
files that are rarely modified.

The series adds a CONFIG_NTFS_FS_WOF_COMPRESSION option, parses WOF
reparse points, and adds XPRESS and LZX codec support. It handles both
resident and non-resident WOF metadata and compressed data.

The first two patches introduce the generic compression codec interface
and bind the existing LZNT1 implementation.  The remaining patches add
the configuration option, WOF parsing, decompression libraries, codec
operations, and WOF decompression support.

Signed-off-by: Hyunchul Lee <[email protected]>
---
Hyunchul Lee (8):
      ntfs: introduce transparent compression codec interface
      ntfs: define LZNT1 codec ops under transparent codec interface
      ntfs: add WOF compression config option
      ntfs: parse REPARSE_TAG_WOF
      ntfs: port lzx/xpress decompressors from ntfs-3g-system-compression
      ntfs: implement codec ops for LZX and XPRESS
      ntfs: add non-resident WOF decompression
      ntfs: support resident WOF decompression

 fs/ntfs/Kconfig                 |  11 +
 fs/ntfs/Makefile                |   3 +
 fs/ntfs/aops.c                  |   7 +-
 fs/ntfs/attrib.c                |   2 +-
 fs/ntfs/compress.c              |  12 +-
 fs/ntfs/inode.c                 |   9 +-
 fs/ntfs/inode.h                 |  11 +
 fs/ntfs/lib/decompress_common.c | 200 +++++++++++++
 fs/ntfs/lib/decompress_common.h | 444 ++++++++++++++++++++++++++++
 fs/ntfs/lib/lib.h               |  29 ++
 fs/ntfs/lib/lzx_decompress.c    | 631 ++++++++++++++++++++++++++++++++++++++++
 fs/ntfs/lib/xpress_decompress.c | 154 ++++++++++
 fs/ntfs/ntfs.h                  |   3 +
 fs/ntfs/ntfs_codec.h            |  54 ++++
 fs/ntfs/reparse.c               |  77 ++++-
 fs/ntfs/reparse.h               |   2 +-
 fs/ntfs/wof.c                   | 446 ++++++++++++++++++++++++++++
 17 files changed, 2084 insertions(+), 11 deletions(-)
---
base-commit: 5c244a0e9ca95468f4c2087b2c9269825429a13f
change-id: 20260810-topic-wof-4dd6eddbc852

Best regards,
-- 
Thanks,
Hyunchul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.