aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/compress.c
AgeCommit message (Expand)AuthorFilesLines
3 daysMerge tag 'f2fs-for-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-10/+7
6 daysMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+1
8 daysf2fs: introduce f2fs_schedule_timeout()Chao Yu1-2/+2
8 daysf2fs: change the unlock parameter of f2fs_put_page to boolYongpeng Yang1-4/+4
8 daysf2fs: fix to avoid potential deadlockChao Yu1-4/+1
2025-10-31f2fs: Use folio_next_pos()Matthew Wilcox (Oracle)1-1/+1
2025-10-20mm/filemap: Add NUMA mempolicy support to filemap_alloc_folio()Matthew Wilcox1-1/+1
2025-08-11f2fs: clean up f2fs_truncate_partial_cluster()Chao Yu1-23/+19
2025-08-11f2fs: fix to zero data after EOF for compressed file correctlyChao Yu1-7/+16
2025-08-11f2fs: fix to avoid overflow while left shift operationChao Yu1-1/+1
2025-07-22f2fs: Pass a folio to f2fs_cache_compressed_page()Matthew Wilcox (Oracle)1-4/+7
2025-07-22f2fs: Pass a folio to f2fs_is_compressed_page()Matthew Wilcox (Oracle)1-8/+6
2025-07-22f2fs: Pass a folio to f2fs_end_read_compressed_page()Matthew Wilcox (Oracle)1-4/+3
2025-07-22f2fs: Pass a folio to WB_DATA_TYPE() and f2fs_is_cp_guaranteed()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Pass a folio to f2fs_compress_write_end_io()Matthew Wilcox (Oracle)1-3/+3
2025-07-22f2fs: Convert get_page_private_data() to folio_get_f2fs_data()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Convert set_page_private_data() to folio_set_f2fs_data()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Use folio_unlock() in f2fs_write_compressed_pages()Matthew Wilcox (Oracle)1-1/+1
2025-06-23f2fs: compress: fix UAF of f2fs_inode_info in f2fs_free_dicZhiguo Niu1-20/+20
2025-06-23f2fs: compress: change the first parameter of page_array_{alloc,free} to sbiZhiguo Niu1-20/+20
2025-05-28f2fs: clean up to check bi_status w/ BLK_STS_OKChao Yu1-1/+1
2025-05-27f2fs: introduce FAULT_VMALLOCChao Yu1-4/+5
2025-05-27f2fs: use vmalloc instead of kvmalloc in .init_{,de}compress_ctxChao Yu1-13/+10
2025-05-27f2fs: remove unused sbi argument from checksum functionsEric Biggers1-3/+2
2025-05-08f2fs: always unlock the page in f2fs_write_single_data_pageChristoph Hellwig1-2/+1
2025-04-28f2fs: Convert dnode_of_data->node_page to node_folioMatthew Wilcox (Oracle)1-7/+7
2025-04-28f2fs: Convert f2fs_load_compressed_page() to f2fs_load_compressed_folio()Matthew Wilcox (Oracle)1-8/+8
2025-04-28f2fs: Use a folio in prepare_compress_overwrite()Matthew Wilcox (Oracle)1-16/+16
2025-04-28f2fs: Use a folio in f2fs_cache_compressed_page()Matthew Wilcox (Oracle)1-12/+12
2025-04-28f2fs: Convert f2fs_put_page_dic() to f2fs_put_folio_dic()Matthew Wilcox (Oracle)1-5/+4
2025-04-28f2fs: Use bio_for_each_folio_all() in __has_merged_page()Matthew Wilcox (Oracle)1-2/+4
2025-04-28f2fs: Use F2FS_P_SB() in f2fs_is_compressed_page()Matthew Wilcox (Oracle)1-1/+1
2025-04-28f2fs: Use a folio in f2fs_write_raw_pages()Matthew Wilcox (Oracle)1-10/+12
2025-04-28f2fs: Use a folio in f2fs_compress_free_page()Matthew Wilcox (Oracle)1-3/+6
2025-03-04f2fs: fix potential deadloop in prepare_compress_overwrite()Chao Yu1-0/+1
2025-01-13f2fs: fix using wrong 'submitted' value in f2fs_write_cache_pageszangyangyang11-0/+1
2025-01-13f2fs: add parameter @len to f2fs_invalidate_blocks()Yi Sun1-2/+2
2025-01-08f2fs: expand f2fs_invalidate_compress_page() to f2fs_invalidate_compress_page...Yi Sun1-2/+3
2024-12-16f2fs: Use a folio in f2fs_write_compressed_pages()Matthew Wilcox (Oracle)1-3/+5
2024-12-16f2fs: Use a folio in f2fs_truncate_partial_cluster()Matthew Wilcox (Oracle)1-4/+5
2024-12-16f2fs: Use a folio in f2fs_compress_write_end()Matthew Wilcox (Oracle)1-1/+2
2024-12-16f2fs: Use a folio in f2fs_all_cluster_page_ready()Matthew Wilcox (Oracle)1-3/+5
2024-09-06f2fs: get rid of page->indexChao Yu1-1/+1
2024-09-06f2fs: convert f2fs_set_compressed_page() to use folioChao Yu1-3/+5
2024-09-06f2fs: convert f2fs_write_single_data_page() to use folioChao Yu1-1/+2
2024-09-06f2fs: convert f2fs_compress_ctx_add_page() to use folioChao Yu1-7/+7
2024-08-21f2fs: compress: don't redirty sparse cluster during {,de}compressYeongjin Gil1-8/+28
2024-06-18f2fs: clean up set REQ_RAHEAD given racJaegeuk Kim1-1/+1
2024-05-09f2fs: use f2fs_{err,info}_ratelimited() for cleanupChao Yu1-30/+24
2024-04-25f2fs: clear writeback when compression failedJaegeuk Kim1-2/+38
2024-04-12f2fs: use folio_test_writebackJaegeuk Kim1-1/+1
2024-03-04f2fs: ro: compress: fix to avoid caching unaligned extentChao Yu1-4/+6
2024-02-05f2fs: compress: remove some redundant codes in f2fs_cache_compressed_pageZhiguo Niu1-4/+0
2024-02-05f2fs: support printk_ratelimited() in f2fs_printk()Chao Yu1-5/+5
2024-02-05f2fs: compress: fix to cover normal cluster write with cp_rwsemChao Yu1-9/+18
2024-02-05f2fs: compress: fix to guarantee persisting compressed blocks by CPChao Yu1-1/+3
2024-01-11Merge tag 'f2fs-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2023-12-11f2fs: fix to tag gcing flag on page during block migrationChao Yu1-1/+3
2023-12-11f2fs: delete obsolete FI_FIRST_BLOCK_WRITTENChao Yu1-2/+0
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-1/+1
2023-10-09f2fs: avoid format-overflow warningSu Hui1-1/+1
2023-09-12f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is onChao Yu1-27/+34
2023-09-02Merge tag 'f2fs-for-6-6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-13/+1
2023-08-14f2fs: don't handle error case of f2fs_compress_alloc_page()Chao Yu1-13/+1
2023-07-24filemap: Add fgf_t typedefMatthew Wilcox (Oracle)1-1/+1
2023-06-26f2fs: add helper to check compression levelSheng Yong1-0/+27
2023-06-26f2fs: assign default compression levelJaegeuk Kim1-2/+1
2023-06-12f2fs: flush error flags in workqueueChao Yu1-1/+1
2023-06-12f2fs: fix potential deadlock due to unpaired node_write lock useChao Yu1-3/+4
2023-05-23f2fs: fix the wrong condition to determine atomic contextJaegeuk Kim1-1/+1
2023-04-10f2fs: merge lz4hc_compress_pages() to lz4_compress_pages()Yangtao Li1-22/+8
2023-03-29f2fs: fix scheduling while atomic in decompression pathJaegeuk Kim1-1/+6
2023-03-29f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_p...Yangtao Li1-0/+6
2023-03-29f2fs: convert to use bitmap APIYangtao Li1-2/+2
2023-02-07f2fs: fix typos in commentsJinyoung CHOI1-1/+1
2023-02-02f2fs: clean up i_compress_flag and i_compress_level usageChao Yu1-5/+3
2023-02-02f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_infoChao Yu1-2/+3
2023-01-11f2fs: mark f2fs_init_compress_mempool w/ __initYangtao Li1-1/+1
2023-01-11f2fs: start freeing cluster pages from the unused numberZhang Qilong1-3/+1
2023-01-06f2fs: split __submit_bioChristoph Hellwig1-1/+1
2023-01-04f2fs: fix to support .migrate_folio for compressed inodeChao Yu1-0/+1
2022-12-14Merge tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-41/+7
2022-12-08f2fs: do some cleanup for f2fs module initYangtao Li1-40/+6
2022-11-28fsverity: stop using PG_error to track error statusEric Biggers1-33/+31
2022-11-28f2fs: set zstd compress level correctlySheng Yong1-1/+1
2022-10-04f2fs: support recording errors into superblockChao Yu1-0/+2
2022-10-04f2fs: remove redundant check in f2fs_sanity_check_clusterZhang Qilong1-11/+9
2022-10-04f2fs: use COMPRESS_MAPPING to get compress cache mappingZhang Qilong1-1/+1
2022-09-12f2fs: simplify code in f2fs_prepare_decomp_memZhang Qilong1-6/+2
2022-08-08Merge tag 'f2fs-for-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/jae...Linus Torvalds1-76/+153
2022-08-05f2fs: use onstack pages instead of pvecFengnan Chang1-4/+4
2022-08-05f2fs: intorduce f2fs_all_cluster_page_readyFengnan Chang1-7/+14
2022-08-05f2fs: handle decompress only post processing in softirqDaeho Jeong1-68/+135
2022-06-29f2fs: Convert f2fs_invalidate_compress_pages() to use filemap_get_folios()Matthew Wilcox (Oracle)1-20/+15
2022-06-28f2fs: initialize page_array_entry slab only if compression feature is onChao Yu1-0/+3
2022-05-09f2fs: Convert to release_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-03-22Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+1
2022-03-22f2fs: replace congestion_wait() calls with io_schedule_timeout()NeilBrown1-3/+1
2022-03-17f2fs: compress: fix to print raw data size in error path of lz4 decompressionChao Yu1-3/+2
2022-03-15f2fs: Convert invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-1/+1
2022-01-24f2fs: move f2fs to use reader-unfair rwsemsTim Murray1-3/+3
2022-01-04f2fs: do not bother checkpoint by f2fs_get_node_infoJaegeuk Kim1-1/+1
2021-12-14f2fs: compress: fix potential deadlock of compress fileHyeong-Jun Kim1-28/+22
2021-11-17f2fs: compress: reduce one page array alloc and free when write compressed pageFengnan Chang1-22/+10
2021-11-13Merge tag 'zstd-for-linus-v5.16' of git://github.com/terrelln/linuxLinus Torvalds1-28/+28
2021-11-13Merge tag 'f2fs-for-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+20
2021-11-08lib: zstd: Add kernel-specific APINick Terrell1-28/+28
2021-10-26f2fs: compress: fix overwrite may reduce compress ratio unproperlyFengnan Chang1-0/+19
2021-10-26f2fs: include non-compressed blocks in compr_written_blockDaeho Jeong1-0/+1
2021-10-18mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h>Christoph Hellwig1-0/+1
2021-08-31f2fs: deallocate compressed pages when error happensJaegeuk Kim1-6/+6
2021-08-17f2fs: compress: do sanity check on clusterChao Yu1-0/+53
2021-08-17f2fs: support fault injection for f2fs_kmem_cache_alloc()Chao Yu1-3/+5
2021-08-05f2fs: extent cache: support unaligned extentChao Yu1-0/+24
2021-06-23f2fs: compress: add compress_inode to cache compressed blocksChao Yu1-2/+166
2021-06-23f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bitJaegeuk Kim1-1/+2
2021-06-23f2fs: compress: remove unneeded preallocationChao Yu1-24/+3
2021-05-26f2fs: let's allow compression for mmap filesJaegeuk Kim1-2/+0
2021-05-14f2fs: compress: clean up parameter of __f2fs_cluster_blocks()Chao Yu1-20/+13
2021-05-14f2fs: restructure f2fs page.private layoutChao Yu1-6/+4
2021-05-14f2fs: add cp_error check in f2fs_write_compressed_pagesChao Yu1-0/+6
2021-05-14f2fs: compress: rename __cluster_may_compressChao Yu1-4/+4
2021-05-11f2fs: compress: fix to assign cc.cluster_idx correctlyChao Yu1-8/+9
2021-05-11f2fs: compress: fix race condition of overwrite vs truncateChao Yu1-23/+12
2021-05-11f2fs: compress: fix to free compress page correctlyChao Yu1-1/+2
2021-04-26f2fs: compress: remove unneed check conditionChao Yu1-7/+1
2021-04-24f2fs: clean up left deprecated IO trace codesChao Yu1-6/+0
2021-03-25f2fs: add sysfs nodes to get runtime compression statDaeho Jeong1-0/+1
2021-01-27f2fs: compress: fix potential deadlockChao Yu1-1/+4
2021-01-27f2fs: clean up post-read processingEric Biggers1-41/+108
2021-01-27f2fs: compress: support compress levelChao Yu1-3/+38
2020-12-10f2fs: compress: fix compression chksumChao Yu1-2/+1
2020-12-08f2fs: fix race of pending_pages in decompressionDaeho Jeong1-2/+0
2020-12-03f2fs: add compress_mode mount optionDaeho Jeong1-1/+1
2020-12-02f2fs: compress: support chksumChao Yu1-0/+23
2020-09-29f2fs: fix slab leak of rpages pointerJaegeuk Kim1-1/+1
2020-09-29f2fs: compress: introduce cic/dic slab cacheChao Yu1-7/+60
2020-09-29f2fs: compress: introduce page array slab cacheChao Yu1-30/+86
2020-09-11f2fs: change virtual mapping way for compression pagesDaeho Jeong1-10/+26
2020-09-11f2fs: allocate proper size memory for zstd decompressChao Yu1-3/+4
2020-09-10f2fs: compress: use more readable atomic_t type for {cic,dic}.refChao Yu1-5/+5
2020-09-10f2fs: compress: remove unneeded codeChao Yu1-4/+0
2020-08-10Merge tag 'f2fs-for-5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-25/+64
2020-07-26f2fs: compress: delay temp page allocationChao Yu1-16/+21
2020-07-20f2fs: compress: fix to avoid memory leak on cc->cpagesChao Yu1-0/+2
2020-07-08f2fs: add inline encryption supportSatya Tangirala1-1/+1
2020-07-08f2fs: fix to wait GCed compressed page writebackChao Yu1-0/+7
2020-07-07f2fs: fix an oops in f2fs_is_compressed_pageYu Changchun1-0/+7
2020-07-07f2fs: fix to check page dirty status before writebackChao Yu1-0/+6
2020-07-07f2fs: remove the unused compr parameterWang Xiaojun1-3/+3
2020-07-07f2fs: shrink node_write lock coverageChao Yu1-3/+15
2020-07-07f2fs: add prefix for exported symbolsChao Yu1-2/+2
2020-06-18f2fs: avoid checkpatch errorJaegeuk Kim1-1/+1
2020-06-08f2fs: remove unused parameter of f2fs_put_rpages_mapping()Chao Yu1-4/+3
2020-05-28f2fs: compress: don't compress any datas after cp stopChao Yu1-0/+2
2020-05-11f2fs: compress: fix zstd data corruptionChao Yu1-0/+7
2020-05-11f2fs: compress: let lz4 compressor handle output buffer budget properlyChao Yu1-6/+9
2020-05-11f2fs: compress: support lzo-rle compress algorithmChao Yu1-0/+30
2020-05-11f2fs: introduce mempool for {,de}compress intermediate page allocationChao Yu1-22/+42
2020-05-08f2fs: support partial truncation on compressed inodeChao Yu1-0/+49
2020-04-23f2fs: fix quota_sync failure due to f2fs_lock_opJaegeuk Kim1-3/+5
2020-04-03f2fs: fix to verify tpage before releasing in f2fs_free_dic()Chao Yu1-0/+2
2020-04-03f2fs: clean up dic->tpages assignmentChao Yu1-7/+3
2020-04-03f2fs: compress: support zstd compress algorithmChao Yu1-0/+165
2020-03-30f2fs: compress: add .{init,destroy}_decompress_ctx callbackChao Yu1-6/+21
2020-03-30f2fs: compress: fix to call missing destroy_compress_ctx()Chao Yu1-0/+2
2020-03-30f2fs: clean up {cic,dic}.ref handlingChao Yu1-10/+6
2020-03-30f2fs: fix NULL pointer dereference in f2fs_verity_work()Chao Yu1-0/+2
2020-03-30f2fs: fix to clear PG_error if fsverity failedChao Yu1-8/+10
2020-03-30f2fs: fix potential deadlock on compressed quota fileChao Yu1-5/+10
2020-03-22f2fs: fix to account compressed blocks in f2fs_compressed_blocks()Chao Yu1-6/+22
2020-03-19f2fs: fix to avoid triggering IO in write pathChao Yu1-1/+1
2020-03-19f2fs: introduce DEFAULT_IO_TIMEOUTChao Yu1-1/+2
2020-03-19f2fs: clean up codes with {f2fs_,}data_blkaddr()Chao Yu1-4/+3
2020-03-10f2fs: fix to avoid use-after-free in f2fs_write_multi_pages()Chao Yu1-1/+1
2020-03-10f2fs: cover last_disk_size update with spinlockChao Yu1-2/+2
2020-02-27f2fs: fix to avoid potential deadlockChao Yu1-3/+3
2020-02-27f2fs: recycle unused compress_data.chksum feildChao Yu1-1/+0
2020-02-27f2fs: fix to avoid NULL pointer dereferenceChao Yu1-1/+2
2020-02-27f2fs: fix leaking uninitialized memory in compressed clustersEric Biggers1-2/+6
2020-01-17f2fs: support data compressionChao Yu1-0/+1176