aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-02f2fs: allocate HOT_DATA for IPU writesJaegeuk Kim1-1/+2
2025-08-29f2fs: Use allocate_section_policy to control write priority in multi-devices ...Liao Yuanhong1-0/+17
2025-08-11f2fs: add error checking in do_write_page()mason.zhang1-2/+8
2025-07-22f2fs: Pass a folio to f2fs_submit_merged_write_cond()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Pass a folio to ADDRS_PER_PAGE()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Pass a folio to IS_DNODE()Matthew Wilcox (Oracle)1-2/+2
2025-07-22f2fs: Pass a folio to is_cold_node()Matthew Wilcox (Oracle)1-2/+2
2025-07-22f2fs: Add fio->folioMatthew Wilcox (Oracle)1-4/+3
2025-07-22f2fs: Pass a folio to fill_node_footer_blkaddr()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Pass a folio to f2fs_inode_chksum_set()Matthew Wilcox (Oracle)1-1/+1
2025-07-22f2fs: Pass a folio to f2fs_allocate_data_block()Matthew Wilcox (Oracle)1-5/+5
2025-07-09f2fs: introduce is_cur{seg,sec}()Chao Yu1-11/+11
2025-07-09f2fs: use kfree() instead of kvfree() to free some memoryJiazi Li1-2/+2
2025-07-01f2fs: fix to use f2fs_is_valid_blkaddr_raw() in do_write_page()Chao Yu1-1/+1
2025-06-23f2fs: do sanity check on fio.new_blkaddr in do_write_page()Chao Yu1-0/+6
2025-06-23f2fs: make sure zoned device GC to use FG_GC in shortage of free sectionDaeho Jeong1-1/+2
2025-05-28f2fs: fix to skip f2fs_balance_fs() if checkpoint is disabledChao Yu1-1/+1
2025-05-28f2fs: add ckpt_valid_blocks to the section entryyohan.joung1-7/+38
2025-05-06f2fs: support FAULT_TIMEOUTChao Yu1-0/+3
2025-05-06f2fs: fix to bail out in get_new_segment()Chao Yu1-1/+5
2025-04-28f2fs: zone: fix to calculate first_zoned_segno correctlyChao Yu1-5/+5
2025-04-28f2fs: Convert fsync_node_entry->page to folioMatthew Wilcox (Oracle)1-1/+1
2025-04-28f2fs: Convert dnode_of_data->node_page to node_folioMatthew Wilcox (Oracle)1-1/+1
2025-04-28f2fs: Use a folio in f2fs_wait_on_block_writeback()Matthew Wilcox (Oracle)1-5/+5
2025-04-28f2fs: Use a folio in change_curseg()Matthew Wilcox (Oracle)1-6/+6
2025-04-28f2fs: Add f2fs_get_sum_folio()Matthew Wilcox (Oracle)1-3/+3
2025-04-28f2fs: Convert f2fs_get_meta_page_retry() to f2fs_get_meta_folio_retry()Matthew Wilcox (Oracle)1-1/+1
2025-04-28f2fs: Use a folio in read_normal_summaries()Matthew Wilcox (Oracle)1-4/+4
2025-04-28f2fs: Use a folio in read_compacted_summaries()Matthew Wilcox (Oracle)1-12/+11
2025-04-28f2fs: Use a folio in build_sit_entries()Matthew Wilcox (Oracle)1-8/+8
2025-04-28f2fs: Use a folio in write_compacted_summaries()Matthew Wilcox (Oracle)1-12/+12
2025-04-28f2fs: Use a folio in write_current_sum_page()Matthew Wilcox (Oracle)1-4/+4
2025-04-28f2fs: Use a folio in f2fs_update_meta_page()Matthew Wilcox (Oracle)1-4/+4
2025-04-28f2fs: Convert get_next_sit_page() to get_next_sit_folio()Matthew Wilcox (Oracle)1-10/+10
2025-04-28f2fs: Pass a folio to f2fs_submit_merged_ipu_write()Matthew Wilcox (Oracle)1-1/+1
2025-04-28f2fs: Introduce fio_inode()Matthew Wilcox (Oracle)1-3/+3
2025-04-10f2fs: fix to set atomic write status more clearChao Yu1-0/+6
2025-03-18f2fs: fix missing discard for active segmentsChunhai Guo1-1/+3
2025-03-04f2fs: Convert f2fs_in_warm_node_list() to take a folioMatthew Wilcox (Oracle)1-1/+1
2025-03-04f2fs: Use a folio in do_write_page()Matthew Wilcox (Oracle)1-2/+3
2025-03-04f2fs: Add f2fs_folio_wait_writeback()Matthew Wilcox (Oracle)1-10/+9
2025-02-28f2fs: fix to set .discard_granularity correctlyChao Yu1-3/+2
2025-02-12f2fs: fix to avoid panic once fallocation fails for pinfileChao Yu1-10/+10
2025-01-25f2fs: fix inconsistent dirty state of atomic fileJianan Huang1-0/+6
2025-01-22f2fs: fix to avoid changing 'check only' behaior of recoveryZhiguo Niu1-1/+2
2025-01-22f2fs: fix to avoid return invalid mtime from f2fs_get_section_mtime()Chao Yu1-3/+9
2025-01-13f2fs: add parameter @len to f2fs_invalidate_blocks()Yi Sun1-7/+25
2025-01-08f2fs: update_sit_entry_for_release() supports consecutive blocks.Yi Sun1-30/+45
2025-01-08f2fs: introduce update_sit_entry_for_release/alloc()Yi Sun1-69/+93
2025-01-08f2fs: add parameter @len to f2fs_invalidate_internal_cache()Yi Sun1-3/+3
2024-11-23f2fs: fix to drop all discards after creating snapshot on lvm deviceChao Yu1-7/+9
2024-11-21f2fs: fix changing cursegs if recovery fails on zoned deviceSheng Yong1-10/+19
2024-11-01f2fs: fix to convert log type to segment data type correctlyChao Yu1-8/+28
2024-11-01f2fs: fix to parse temperature correctly in f2fs_get_segment_temp()Chao Yu1-8/+25
2024-11-01f2fs: check curseg->inited before write_sum_page in change_cursegYongpeng Yang1-1/+2
2024-11-01f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_blockLongPing Wei1-1/+1
2024-11-01f2fs: zone: introduce first_zoned_segno in f2fs_sb_infoChao Yu1-2/+2
2024-11-01f2fs: decrease spare area for pinned files for zoned devicesDaeho Jeong1-1/+2
2024-10-14f2fs: introduce f2fs_get_section_mtimeliuderong1-5/+30
2024-09-12f2fs: remove unused parametersliuderong1-2/+1
2024-09-11f2fs: fix to don't panic system for no free segment fault injectionChao Yu1-3/+3
2024-09-11f2fs: add valid block ratio not to do excessive GC for one time GCDaeho Jeong1-2/+4
2024-09-11f2fs: prevent atomic file from being dirtied before commitDaeho Jeong1-0/+8
2024-09-06f2fs: get rid of page->indexChao Yu1-1/+2
2024-09-06f2fs: convert f2fs_do_write_meta_page() to use folioChao Yu1-7/+7
2024-08-21f2fs: check discard support for conventional zonesShin'ichiro Kawasaki1-0/+7
2024-08-05f2fs: add write priority option based on zone UFSLiao Yuanhong1-1/+24
2024-07-10f2fs: use meta inode for GC of atomic fileSunmin Jeong1-3/+3
2024-07-10f2fs: only fragment segment in the same sectionSheng Yong1-3/+11
2024-06-21f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is validJaegeuk Kim1-0/+1
2024-06-18f2fs: enable atgc dynamically if conditions are metZhiguo Niu1-3/+24
2024-06-12f2fs: fix to avoid use SSR allocate when do defragmentZhiguo Niu1-1/+2
2024-06-12f2fs: alloc new section if curseg is not the first seg in its zoneSheng Yong1-1/+2
2024-05-11f2fs: allow dirty sections with zero valid block for checkpoint disabledDaeho Jeong1-2/+4
2024-05-09f2fs: use f2fs_{err,info}_ratelimited() for cleanupChao Yu1-3/+2
2024-04-29f2fs: fix to avoid allocating WARM_DATA segment for direct IOChao Yu1-2/+9
2024-04-29f2fs: remove redundant parameter in is_next_segment_free()Yifan Zhao1-3/+2
2024-04-25f2fs: use helper to print zone conditionWu Bo1-14/+3
2024-04-19f2fs: assign the write hint per stream by defaultJaegeuk Kim1-6/+70
2024-04-12f2fs: use folio_test_writebackJaegeuk Kim1-5/+5
2024-04-12f2fs: write missing last sum blk of file pinning sectionDaeho Jeong1-0/+2
2024-03-18Merge tag 'f2fs-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-166/+278
2024-03-14f2fs: truncate page cache before clearing flags when aborting atomic writeSunmin Jeong1-1/+3
2024-03-12f2fs: fix to handle error paths of {new,change}_curseg()Zhiguo Niu1-22/+35
2024-03-12f2fs: unify the error handling of f2fs_is_valid_blkaddrZhiguo Niu1-2/+0
2024-03-12f2fs: fix to truncate meta inode pages forcelyChao Yu1-3/+2
2024-03-04f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanupChao Yu1-6/+6
2024-03-04f2fs: fix to check return value of f2fs_gc_rangeZhiguo Niu1-5/+8
2024-03-04f2fs: fix to check return value __allocate_new_segmentZhiguo Niu1-2/+5
2024-03-04f2fs: fix to do sanity check in update_sit_entryZhiguo Niu1-2/+3
2024-03-04f2fs: fix to reset fields for unloaded cursegChao Yu1-4/+15
2024-03-04f2fs: clean up new_curseg()Chao Yu1-9/+14
2024-03-04f2fs: ro: don't start discard thread for readonly imageChao Yu1-0/+6
2024-03-04f2fs: fix to use correct segment type in f2fs_allocate_data_block()Chao Yu1-2/+2
2024-03-04f2fs: allow to mount if cap is 100Jaegeuk Kim1-0/+3
2024-03-04f2fs: print zone status in string and some logJaegeuk Kim1-6/+21
2024-02-29f2fs: introduce FAULT_NO_SEGMENTChao Yu1-0/+5
2024-02-29f2fs: fix to handle segment allocation failure correctlyChao Yu1-7/+39
2024-02-29f2fs: stop checkpoint when get a out-of-bounds segmentZhiguo Niu1-1/+11
2024-02-27f2fs: support file pinning for zoned devicesDaeho Jeong1-8/+61
2024-02-27f2fs: kill heap-based allocationJaegeuk Kim1-47/+7
2024-02-27f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SECJaegeuk Kim1-56/+54
2024-02-20f2fs: deprecate io_bitsJaegeuk Kim1-8/+1
2024-02-12block: remove gfp_flags from blkdev_zone_mgmtJohannes Thumshirn1-2/+2
2024-02-12f2fs: guard blkdev_zone_mgmt with nofs scopeJohannes Thumshirn1-3/+12
2024-02-05f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnodeChao Yu1-1/+1
2024-02-05f2fs: check free sections before disable checkpointWu Bo1-0/+2
2023-12-26f2fs: Use wait_event_freezable_timeout() for freezable kthreadKevin Hao1-5/+2
2023-12-11f2fs: introduce f2fs_invalidate_internal_cache() for cleanupChao Yu1-10/+4
2023-12-05f2fs: let's finish or reset zones all the timeJaegeuk Kim1-58/+17
2023-12-04f2fs: allocate new section if it's not newJaegeuk Kim1-16/+17
2023-11-28f2fs: sysfs: support discard_io_awareChao Yu1-1/+5
2023-11-20f2fs: skip adding a discard command if existsJaegeuk Kim1-1/+2
2023-10-16f2fs: clean up zones when not successfully unmountedDaeho Jeong1-36/+56
2023-08-25f2fs: use finish zone command when closing a zoneDaeho Jeong1-6/+13
2023-08-18Revert "f2fs: do not issue small discard commands during checkpoint"Chao Yu1-1/+1
2023-08-14f2fs: fix to account cp stats correctlyChao Yu1-1/+2
2023-08-14f2fs: fix to account gc stats correctlyChao Yu1-0/+1
2023-08-14f2fs: check zone type before sending async reset zone commandShin'ichiro Kawasaki1-11/+28
2023-08-14f2fs: flush inode if atomic file is abortedJaegeuk Kim1-0/+2
2023-08-14Revert "f2fs: clean up w/ sbi->log_sectors_per_block"Jaegeuk Kim1-11/+12
2023-06-26f2fs: do not issue small discard commands during checkpointJaegeuk Kim1-1/+1
2023-06-26f2fs: check zone write pointer points to the end of zoneDaeho Jeong1-2/+6
2023-06-12f2fs: add async reset zone command supportDaejun Park1-3/+81
2023-06-12f2fs: clean up w/ sbi->log_sectors_per_blockChao Yu1-12/+11
2023-06-12f2fs: close unused open zones while mountingDaeho Jeong1-22/+31
2023-04-24f2fs: allocate node blocks for atomic write block replacementDaeho Jeong1-1/+1
2023-04-24f2fs: remove power-of-two limitation of zoned deviceJaegeuk Kim1-1/+1
2023-04-18f2fs: add has_enough_free_secs()Yangtao Li1-21/+22
2023-04-13f2fs: fix to check return value of inc_valid_block_count()Chao Yu1-1/+7
2023-04-13f2fs: fix passing relative address when discard zonesDaeho Jeong1-3/+2
2023-04-10f2fs: remove struct victim_selection default_v_opsYangtao Li1-3/+2
2023-04-04f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_blockJaegeuk Kim1-1/+1
2023-04-04f2fs: fix align check for npo2Yohan Joung1-2/+3
2023-03-29f2fs: apply zone capacity to all zone typeJaegeuk Kim1-61/+4
2023-03-29f2fs: Fix discard bug on zoned block devices with 2MiB zone sizeYonggil Song1-1/+3
2023-03-29f2fs: factor out discard_cmd usage from general rb_tree useJaegeuk Kim1-84/+165
2023-03-29f2fs: factor out victim_entry usage from general rb_tree useJaegeuk Kim1-2/+2
2023-02-15f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"Jaegeuk Kim1-2/+7
2023-02-14f2fs: synchronize atomic write abortsDaeho Jeong1-3/+0
2023-02-07f2fs: fix typos in commentsJinyoung CHOI1-1/+1
2023-02-02f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_infoChao Yu1-3/+3
2023-02-02f2fs: remove __has_curseg_spaceChristoph Hellwig1-11/+8
2023-02-02f2fs: refactor next blk selectionChristoph Hellwig1-25/+23
2023-02-02f2fs: remove __allocate_new_sectionChristoph Hellwig1-7/+1
2023-02-02f2fs: refactor __allocate_new_segmentChristoph Hellwig1-9/+5
2023-02-02f2fs: add a f2fs_curseg_valid_blocks helperChristoph Hellwig1-17/+15
2023-01-31f2fs: remove __add_sum_entryChristoph Hellwig1-21/+2
2023-01-31f2fs: return true if all cmd were issued or no cmd need to be issued for f2fs...Yangtao Li1-3/+10
2023-01-30f2fs: clear atomic_write_task in f2fs_abort_atomic_write()Chao Yu1-0/+3
2023-01-30f2fs: introduce trace_f2fs_replace_atomic_write_blockChao Yu1-0/+3
2023-01-30f2fs: introduce discard_io_aware_gran sysfs nodeYangtao Li1-1/+2
2023-01-30f2fs: add iostat support for flushYangtao Li1-0/+2
2023-01-11f2fs: support accounting iostat count and avg_bytesYangtao Li1-1/+1
2023-01-11f2fs: convert discard_wake and gc_wake to bool typeYangtao Li1-1/+1
2023-01-11f2fs: convert to use MIN_DISCARD_GRANULARITY macroYangtao Li1-3/+4
2023-01-11f2fs: merge f2fs_show_injection_info() into time_to_inject()Yangtao Li1-4/+1
2023-01-06f2fs: deliver the accumulated 'issued' to __issue_discard_cmd_orderly()Yuwei Guan1-14/+12
2023-01-06f2fs: avoid to check PG_error flagChao Yu1-1/+0
2023-01-06f2fs: introduce IS_F2FS_IPU_* macroYangtao Li1-2/+2
2023-01-03f2fs: initialize extent_cache parameterJaegeuk Kim1-1/+1
2023-01-03f2fs: fix to avoid NULL pointer dereference in f2fs_issue_flush()Chao Yu1-7/+4
2022-12-14Merge tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-81/+120
2022-12-12f2fs: don't call f2fs_issue_discard_timeout() when discard_cmd_cnt is 0 in f2...Yangtao Li1-2/+4
2022-12-12f2fs: fix iostat parameter for discardYangtao Li1-1/+1
2022-12-12f2fs: add block_age-based extent cacheJaegeuk Kim1-0/+33
2022-12-12f2fs: refactor extent_cache to support for read and moreJaegeuk Kim1-1/+2
2022-12-12f2fs: specify extent cache for read explicitlyJaegeuk Kim1-2/+2
2022-12-08f2fs: remove the unused flush argument to change_cursegChristoph Hellwig1-9/+7
2022-12-08f2fs: open code allocate_segment_by_defaultChristoph Hellwig1-26/+24
2022-12-08f2fs: remove struct segment_allocation default_salloc_opsChristoph Hellwig1-9/+2
2022-11-28f2fs: introduce discard_urgent_util sysfs nodeYangtao Li1-1/+2
2022-11-28f2fs: define MIN_DISCARD_GRANULARITY macroYangtao Li1-2/+2
2022-11-28f2fs: init discard policy after thread wakeupYangtao Li1-11/+9
2022-11-28f2fs: truncate blocks in batch in __complete_revoke_list()Chao Yu1-7/+2
2022-11-28f2fs: make __queue_discard_cmd() return voidYangtao Li1-5/+6
2022-11-28f2fs: remove submit label in __submit_discard_cmd()Yangtao Li1-4/+3
2022-11-28f2fs: introduce F2FS_IOC_START_ATOMIC_REPLACEDaeho Jeong1-1/+12
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-3/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-4/+4
2022-11-11f2fs: correct i_size change for atomic writesDaeho Jeong1-4/+10
2022-11-01f2fs: replace ternary operator with max()wangkailong@jari.cn1-1/+1
2022-11-01f2fs: fix return val in f2fs_start_ckpt_thread()Yangtao Li1-2/+2
2022-11-01f2fs: introduce max_ordered_discard sysfs nodeYangtao Li1-1/+2
2022-11-01f2fs: fix normal discard processDongdong Zhang1-1/+1
2022-11-01f2fs: cleanup in f2fs_create_flush_cmd_control()Yangtao Li1-4/+4
2022-11-01f2fs: fix to invalidate dcc->f2fs_issue_discard in error pathChao Yu1-1/+3
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-4/+4
2022-10-07f2fs: change to use atomic_t type form sbi.atomic_filesChao Yu1-5/+1
2022-10-04f2fs: support recording errors into superblockChao Yu1-0/+11
2022-10-04f2fs: support recording stop_checkpoint reason into super_blockChao Yu1-2/+3
2022-10-04f2fs: fix to account FS_CP_DATA_IO correctlyChao Yu1-1/+1
2022-09-12f2fs: replace logical value "true" with a int numberZhang Qilong1-1/+1
2022-08-29f2fs: iostat: support accounting compressed IOChao Yu1-5/+6
2022-08-08Merge tag 'f2fs-for-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/jae...Linus Torvalds1-30/+49
2022-08-05f2fs: clean up f2fs_abort_atomic_write()Chao Yu1-13/+14
2022-08-05f2fs: fix null-ptr-deref in f2fs_get_dnode_of_dataYe Bin1-2/+2
2022-07-30f2fs: fix to do sanity check on segment type in build_sit_entries()Chao Yu1-0/+13
2022-07-30f2fs: introduce sysfs atomic write statisticsDaeho Jeong1-0/+6
2022-07-30f2fs: invalidate meta pages only for post_read required inodeChao Yu1-1/+8