]> Gentwo Git Trees - linux/.git/commit
fs/ntfs3: remove ntfs_bio_pages and use page cache for compressed I/O
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 14 Oct 2025 17:36:17 +0000 (20:36 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 10 Nov 2025 13:30:16 +0000 (14:30 +0100)
commitf35590ee26f5722bfe12cdff14396c4c057a8f74
tree871d881f05fc0fb5fd8f04dbcf2eaeec6b3c7a7d
parentc3856bb499eae0cd5773b609ee9aa8a0e6e42b6c
fs/ntfs3: remove ntfs_bio_pages and use page cache for compressed I/O

Replace the use of ntfs_bio_pages with the disk page cache for reading and
writing compressed files. This slightly improves performance when reading
compressed data and simplifies the I/O logic.

When an XPRESS or LZX compressed file is opened for writing, it is now
decompressed into a normal file before modification. A new argument (`int copy`)
is added to ni_read_frame() to handle writing of decompressed and mapped data.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c
fs/ntfs3/file.c
fs/ntfs3/frecord.c
fs/ntfs3/fsntfs.c
fs/ntfs3/inode.c
fs/ntfs3/ntfs_fs.h