aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.h
AgeCommit message (Expand)AuthorFilesLines
2025-08-20f2fs: clean up w/ get_left_section_blocks()Chao Yu1-16/+12
2025-07-28f2fs: fix to calculate dirty data during has_not_enough_free_secs()Chao Yu1-2/+1
2025-07-28f2fs: fix to update upper_p in __get_secs_required() correctlyChao Yu1-1/+1
2025-07-09f2fs: introduce is_cur{seg,sec}()Chao Yu1-30/+24
2025-05-28f2fs: add ckpt_valid_blocks to the section entryyohan.joung1-11/+47
2025-05-28f2fs: add a method for calculating the remaining blocks in the current segmen...yohan.joung1-4/+19
2025-04-28f2fs: Convert get_next_sit_page() to get_next_sit_folio()Matthew Wilcox (Oracle)1-3/+3
2025-04-12f2fs: prevent the current section from being selected as a victim during GCyohan.joung1-0/+5
2025-04-10f2fs: clean up unnecessary indentationJaegeuk Kim1-16/+24
2025-03-11f2fs: fix to avoid accessing uninitialized cursegChao Yu1-1/+8
2024-11-01f2fs: clean up the unused variable additional_reserved_segmentsLongPing Wei1-2/+1
2024-11-01f2fs: fix to parse temperature correctly in f2fs_get_segment_temp()Chao Yu1-4/+0
2024-11-01f2fs: modify f2fs_is_checkpoint_ready logic to allow more data to be written ...Qi Han1-0/+18
2024-11-01f2fs: zone: introduce first_zoned_segno in f2fs_sb_infoChao Yu1-10/+0
2024-10-16f2fs: fix to account dirty data in __get_secs_required()Chao Yu1-10/+25
2024-10-14f2fs: introduce f2fs_get_section_mtimeliuderong1-0/+2
2024-09-12f2fs: remove unused parametersliuderong1-2/+2
2024-09-11f2fs: add valid block ratio not to do excessive GC for one time GCDaeho Jeong1-0/+1
2024-07-09f2fs: fix start segno of large sectionSheng Yong1-1/+2
2024-03-04f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanupChao Yu1-8/+7
2024-02-29f2fs: check number of blocks in a current sectionJaegeuk Kim1-9/+8
2024-02-27f2fs: support file pinning for zoned devicesDaeho Jeong1-0/+10
2024-02-27f2fs: kill heap-based allocationJaegeuk Kim1-10/+0
2024-02-27f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SECJaegeuk Kim1-23/+21
2023-10-16f2fs: Clean up errors in segment.hKaiLong Wang1-2/+2
2023-04-18f2fs: add has_enough_free_secs()Yangtao Li1-1/+7
2023-04-10f2fs: Fix system crash due to lack of free space in LFSYonggil Song1-9/+30
2023-04-10f2fs: remove struct victim_selection default_v_opsYangtao Li1-7/+0
2023-03-29f2fs: apply zone capacity to all zone typeJaegeuk Kim1-0/+3
2023-02-14f2fs: fix wrong segment countJaegeuk Kim1-4/+5
2023-02-14f2fs: export ipu policy in debugfsYangtao Li1-0/+1
2023-02-07f2fs: fix to set ipu policyYangtao Li1-1/+9
2023-02-02f2fs: add a f2fs_curseg_valid_blocks helperChristoph Hellwig1-6/+0
2023-01-11f2fs: convert discard_wake and gc_wake to bool typeYangtao Li1-1/+1
2023-01-06f2fs: introduce IS_F2FS_IPU_* macroYangtao Li1-0/+15
2022-12-08f2fs: remove struct segment_allocation default_salloc_opsChristoph Hellwig1-6/+0
2022-10-04f2fs: support recording errors into superblockChao Yu1-0/+2
2022-07-30f2fs: adjust zone capacity when considering valid block countJaegeuk Kim1-4/+4
2022-07-30f2fs: enforce single zone capacityJaegeuk Kim1-0/+3
2022-05-12f2fs: change the current atomic write wayDaeho Jeong1-2/+2
2022-05-06f2fs: give priority to select unpinned section for foreground GCChao Yu1-0/+3
2022-05-06f2fs: fix to do sanity check on total_data_blocksChao Yu1-0/+1
2022-05-06f2fs: fix deadloop in foreground GCChao Yu1-12/+20
2022-02-07f2fs: introduce F2FS_IPU_HONOR_OPU_WRITE ipu policyChao Yu1-1/+4
2022-01-04f2fs: fix to reserve space for IO align featureChao Yu1-1/+2
2021-10-26f2fs: introduce fragment allocation mode mount optionDaeho Jeong1-0/+1
2021-08-13f2fs: correct comment in segment.hYangtao Li1-2/+2
2021-05-04Merge tag 'f2fs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+13
2021-03-26f2fs: fix to avoid touching checkpointed data in get_victim()Chao Yu1-1/+13
2021-03-12f2fs: remove unused FORCE_FG_GC macroChao Yu1-2/+0
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-2/+2
2021-01-27f2fs: handle unallocated section and zone on pinned/atgcJaegeuk Kim1-2/+2
2020-09-29f2fs: fix wrong total_sections check and fsmeta checkWang Xiaojun1-0/+1
2020-09-29f2fs: change return value of reserved_segments to unsigned intXiaojun Wang1-2/+2
2020-09-11f2fs: support age threshold based garbage collectionChao Yu1-3/+22
2020-09-10f2fs: introduce inmem cursegChao Yu1-7/+10
2020-09-10f2fs: support zone capacity less than zone sizeAravind Ramesh1-9/+17
2020-07-20f2fs: segment.h: delete a duplicated wordRandy Dunlap1-1/+1
2020-06-18f2fs: get the right gc victim section when section has several segmentsJack Qiu1-2/+6
2020-05-08f2fs: Use the correct style for SPDX License IdentifierNishad Kamdar1-1/+1
2020-03-19f2fs: show mounted timeJaegeuk Kim1-1/+1
2020-01-17f2fs: update f2fs document regarding to fsync_modeJaegeuk Kim1-2/+3
2020-01-17f2fs: add a way to turn off ipu bio cacheJaegeuk Kim1-0/+2
2020-01-17f2fs: support data compressionChao Yu1-12/+0
2019-11-07f2fs: support aligned pinned fileJaegeuk Kim1-0/+2
2019-09-06f2fs: enhance f2fs_is_checkpoint_ready()'s readabilityChao Yu1-4/+4
2019-08-23f2fs: Fix indefinite loop in f2fs_gc()Sahitya Tummala1-0/+3
2019-08-23f2fs: allocate memory in batch in build_sit_info()Chao Yu1-0/+1
2019-07-02f2fs: use generic EFSBADCRC/EFSCORRUPTEDChao Yu1-2/+2
2019-07-02f2fs: Use DIV_ROUND_UP() instead of open-codingGeert Uytterhoeven1-1/+1
2019-07-02f2fs: introduce f2fs_<level> macros to wrap f2fs_printk()Joe Perches1-6/+4
2019-05-08f2fs: introduce DATA_GENERIC_ENHANCEChao Yu1-6/+7
2019-05-08f2fs: fix to do sanity check on valid block count of segmentChao Yu1-2/+1
2019-02-15f2fs: don't wake up too frequently, if there is lots of IOsJaegeuk Kim1-1/+1
2018-11-26f2fs: introduce __is_large_section() for cleanupChao Yu1-1/+1
2018-10-16f2fs: checkpoint disablingDaniel Rosenberg1-0/+15
2018-09-12f2fs: add SPDX license identifiersChao Yu1-4/+1
2018-08-20f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gcJaegeuk Kim1-1/+1
2018-08-01f2fs: do not set free of current sectionYunlong Song1-0/+3
2018-08-01f2fs: fix to do sanity check with block address in main areaChao Yu1-2/+1
2018-07-27f2fs: introduce and spread verify_blkaddrChao Yu1-5/+3
2018-06-04f2fs: fix to update mtime correctlyChao Yu1-3/+14
2018-05-31f2fs: avoid stucking GC due to atomic writeChao Yu1-0/+2
2018-05-31f2fs: clean up with is_valid_blkaddr()Chao Yu1-1/+1
2018-05-31Revert "f2fs: add ovp valid_blocks check for bg gc victim to fg_gc"Chao Yu1-9/+0
2018-05-31f2fs: don't use GFP_ZERO for page cachesChao Yu1-0/+1
2018-03-18f2fs: check blkaddr more accuratly before issue a bioYunlei He1-6/+19
2018-03-13f2fs: add auto tuning for small devicesJaegeuk Kim1-0/+2
2018-01-25f2fs: rebuild sit page from sit info in memYunlei He1-2/+27
2018-01-22f2fs: split need_inplace_updateChao Yu1-41/+0
2018-01-02f2fs: return error during fill_superJaegeuk Kim1-4/+18
2017-11-05f2fs: check curseg space before foreground GCChao Yu1-0/+30
2017-11-05f2fs: use rw_semaphore to protect SIT cacheChao Yu1-1/+1
2017-10-26f2fs: fix to correct no_fggc_candidateChao Yu1-1/+1
2017-10-26f2fs: split discard policyChao Yu1-2/+3
2017-09-11f2fs: speed up gc_urgent mode with SSRJaegeuk Kim1-13/+0
2017-08-29f2fs: wake up discard_thread iff there is a candidateJaegeuk Kim1-0/+25
2017-08-21f2fs: remove unused function overprovision_sectionsYunlong Song1-5/+0
2017-08-15f2fs: use IPU for cold filesJaegeuk Kim1-0/+4
2017-07-10Merge tag 'for-f2fs-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ja...Linus Torvalds1-0/+4
2017-05-23f2fs: split bio cacheJaegeuk Kim1-0/+4
2017-05-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+3
2017-05-08fs: f2fs: use ktime_get_real_seconds for sit_info timesDeepa Dinamani1-2/+3
2017-05-02f2fs: reconstruct code to write a data pageHou Pengyang1-5/+1
2017-04-24f2fs: skip encrypted inode in ASYNC IPU policyHou Pengyang1-1/+2
2017-04-24f2fs: add ioctl to flush data from faster device to cold areaJaegeuk Kim1-1/+6
2017-04-19f2fs: introduce async IPU policyHou Pengyang1-1/+11
2017-04-10f2fs: clean up some macros in terms of GET_SEGNOJaegeuk Kim1-14/+20
2017-04-10f2fs: clean up get_valid_blocks with consistent parameterJaegeuk Kim1-4/+4
2017-04-10f2fs: use segment number for get_valid_blocksJaegeuk Kim1-2/+4
2017-04-10f2fs: guard macro variables with bracesTomohiro Kusumi1-38/+38
2017-04-05f2fs: write small sized IO to hot logJaegeuk Kim1-0/+1
2017-03-29f2fs: start SSR much eariler to avoid FG_GCJaegeuk Kim1-1/+1
2017-02-27f2fs: update the comment of default nr_pages to skippingKinglong Mee1-2/+2
2017-02-23f2fs: add ovp valid_blocks check for bg gc victim to fg_gcHou Pengyang1-0/+9
2017-02-22f2fs: check in-memory sit version bitmapChao Yu1-0/+18
2017-02-22f2fs: check in-memory block bitmapChao Yu1-0/+6
2017-01-29f2fs: support IO alignment for DATA and NODE writesJaegeuk Kim1-0/+3
2016-12-07f2fs: detect wrong layoutJaegeuk Kim1-0/+2
2016-11-23f2fs: use BIO_MAX_PAGES for bio allocationJaegeuk Kim1-14/+3
2016-11-23f2fs: count dirty inodes to flush node pages during checkpointJaegeuk Kim1-4/+5
2016-09-12f2fs: check free_sections for defragmentationJaegeuk Kim1-3/+4
2016-08-24f2fs: not allow to write illegal blkaddrYunlei He1-2/+2
2016-07-15f2fs: add maximum prefree segmentsJaegeuk Kim1-0/+1
2016-07-06f2fs: avoid writing node/metapages during writesJaegeuk Kim1-3/+3
2016-06-13f2fs: introduce mode=lfs mount optionJaegeuk Kim1-0/+7
2016-06-02f2fs: do not skip writing data pagesJaegeuk Kim1-3/+1
2016-06-02f2fs: flush inode metadata when checkpoint is doingJaegeuk Kim1-0/+2
2016-06-02f2fs: use inode pointer for {set, clear}_inode_flagJaegeuk Kim1-1/+1
2016-05-07f2fs: shrink size of struct seg_entryChao Yu1-4/+5
2016-02-22f2fs: split journal cache from curseg cacheChao Yu1-0/+2
2016-02-22f2fs: support revoking atomic written pagesChao Yu1-0/+1
2016-02-22f2fs: fix conflict on page->private usageJaegeuk Kim1-1/+1
2015-10-12Revert "f2fs: do not skip dentry block writes"Jaegeuk Kim1-1/+3
2015-10-09f2fs: introduce background_gc=sync mount optionJaegeuk Kim1-1/+3
2015-10-09f2fs: do not skip dentry block writesJaegeuk Kim1-3/+1
2015-08-14f2fs: avoid a build warningJaegeuk Kim1-5/+4
2015-08-11f2fs: remove inmem radix treeChao Yu1-0/+9
2015-08-05f2fs: unify f2fs_bug_on when check blocks and segmentLiu Xue1-37/+8
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+2
2015-06-02writeback: separate out include/linux/backing-dev-defs.hTejun Heo1-0/+1
2015-06-02writeback: move bandwidth related fields from backing_dev_info into bdi_write...Tejun Heo1-1/+1
2015-05-28f2fs: introduce discard_map for f2fs_trim_fsJaegeuk Kim1-0/+1
2015-04-10f2fs: reduce searching region of segmap when set free sectionWanpeng Li1-1/+2
2015-02-11f2fs: use spinlock for segmap_lock instead of rwlockChao Yu1-9/+9
2015-02-11f2fs: avoid variable length arrayJaegeuk Kim1-0/+1
2015-02-11f2fs: merge flags in struct f2fs_sb_infoChao Yu1-5/+5
2014-11-10f2fs: do not skip any writes under memory pressureJaegeuk Kim1-0/+3
2014-11-03f2fs: introduce f2fs_change_bit to simplify the change bit logicGu Zheng1-4/+1
2014-10-06f2fs: support atomic writesJaegeuk Kim1-1/+6
2014-09-30f2fs: potential shift wrapping buf in f2fs_trim_fs()Dan Carpenter1-1/+1
2014-09-30f2fs: check the use of macros on block counts and addressesJaegeuk Kim1-34/+25
2014-09-23f2fs: use more free segments until SSR is activatedJaegeuk Kim1-2/+4
2014-09-23f2fs: change the ipu_policy option to enable combinationsJaegeuk Kim1-23/+16
2014-09-23f2fs: support large sector sizeChao Yu1-5/+5
2014-09-23f2fs: use MAX_BIO_BLOCKS(sbi)Jaegeuk Kim1-4/+4
2014-09-23f2fs: use meta_inode cache to improve roll-forward speedJaegeuk Kim1-2/+3
2014-09-16f2fs: give an option to enable in-place-updates during fsync to usersJaegeuk Kim1-4/+10
2014-09-09f2fs: refactor flush_sit_entries codes for reducing SIT writesChao Yu1-0/+6
2014-09-09f2fs: remove unneeded sit_i in macro SIT_BLOCK_OFFSET/START_SEGNOChao Yu1-5/+5
2014-09-09f2fs: add BUG cases to initiate fsck.f2fsJaegeuk Kim1-3/+35
2014-09-03f2fs: introduce F2FS_I_SB, F2FS_M_SB, and F2FS_P_SBJaegeuk Kim1-1/+1
2014-08-19f2fs: fix typoarter971-1/+1
2014-07-30f2fs: enable in-place-update for fdatasyncJaegeuk Kim1-0/+4
2014-07-15f2fs: reduce searching region of segmap when free sectionChao Yu1-2/+2
2014-03-20f2fs: change reclaim rate in percentageJaegeuk Kim1-1/+1
2014-03-18f2fs: introduce nr_pages_to_write for segment alignmentJaegeuk Kim1-0/+24
2014-03-18f2fs: avoid small data writes by skipping writepagesJaegeuk Kim1-0/+19
2014-02-24f2fs: implement a lock-free stat_showJaegeuk Kim1-24/+3
2014-02-17f2fs: clean up with a macroJaegeuk Kim1-0/+3
2014-01-20f2fs: clean checkpatch warningsChris Fries1-6/+7
2013-12-23f2fs: introduce sysfs entry to control in-place-update policyJaegeuk Kim1-6/+38
2013-12-23f2fs: add unlikely() macro for compiler optimizationChao Yu1-1/+1
2013-12-23f2fs: remove the own bi_private allocationJaegeuk Kim1-7/+0
2013-12-23f2fs: correct type of wait in struct bio_privateChao Yu1-1/+1
2013-12-23f2fs: bug fix on bit overflow from 32bits to 64bitsJaegeuk Kim1-2/+2
2013-12-23f2fs: read contiguous sit entry pages by merging for mount performanceChao Yu1-0/+2
2013-12-23f2fs: simplify IS_DATASEG and IS_NODESEG macroChangman Lee1-7/+2
2013-10-30f2fs: check all ones or zeros bitmap with bitops for better mount performanceChao Yu1-4/+15
2013-10-29f2fs: add an option to avoid unnecessary BUG_ONsJaegeuk Kim1-4/+6
2013-10-25f2fs: reclaim prefree segments periodicallyJaegeuk Kim1-0/+7
2013-09-24f2fs: avoid allocating failure in bio_allocChao Yu1-0/+2
2013-09-05f2fs: optimize gc for better performanceJin Xu1-0/+1
2013-09-03f2fs: avoid an overflow during utilization calculationJaegeuk Kim1-1/+1
2013-09-03f2fs: trigger GC when there are prefree segmentsJaegeuk Kim1-1/+2
2013-04-30f2fs: modify the number of issued pages to merge IOsJaegeuk Kim1-0/+11
2013-04-09f2fs: fix typo mistakesNamjae Jeon1-1/+1
2013-04-03f2fs: change GC bitmaps to apply the section granularityJaegeuk Kim1-1/+9
2013-04-03f2fs: introduce TOTAL_SECS macroJaegeuk Kim1-0/+1
2013-04-03f2fs: do not use duplicate names in a macroJaegeuk Kim1-7/+7
2013-03-08f2fs: fix overflow when calculating utilization on 32-bitChangman Lee1-2/+1
2013-02-12f2fs: clarify and enhance the f2fs_gc flowJaegeuk Kim1-9/+3
2013-02-12f2fs: optimize the return condition for has_not_enough_free_secsNamjae Jeon1-4/+2
2013-02-12f2fs: make an accessor to get sections for particular block typeNamjae Jeon1-7/+2
2012-12-28f2fs: fix equation of has_not_enough_free_secs()Jaegeuk Kim1-1/+14
2012-12-11f2fs: cleanup the f2fs_bio_alloc routineJaegeuk Kim1-0/+3
2012-12-11f2fs: adjust kernel coding styleJaegeuk Kim1-1/+1
2012-12-11f2fs: add superblock and major in-memory structureJaegeuk Kim1-0/+615