aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-21ext4: fix the comment of ext4_map_blocks()/ext4_ext_map_blocks()Cheng Nie1-3/+3
2024-02-01ext4: make ext4_map_blocks() distinguish delalloc only extentZhang Yi1-2/+5
2024-02-01ext4: correct the hole length returned by ext4_map_blocks()Zhang Yi1-41/+70
2024-01-18ext4: remove unnecessary parameter "needed" in ext4_discard_preallocationsKemeng Shi1-5/+5
2024-01-04ext4: treat end of range as exclusive in ext4_zero_range()Ojaswin Mujoo1-2/+4
2023-11-02Merge tag 'ext4_for_linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-7/+7
2023-10-18ext4: convert to new timestamp accessorsJeff Layton1-5/+6
2023-10-05ext4: make state in ext4_mb_mark_bb to be boolKemeng Shi1-2/+2
2023-10-05ext4: move 'ix' sanity check to corrent positionGou Hao1-5/+5
2023-07-24ext4: convert to ctime accessor functionsJeff Layton1-6/+6
2023-06-26ext4: make ext4_zeroout_es() return voidBaokun Li1-7/+5
2023-06-26ext4: make ext4_es_insert_extent() return voidBaokun Li1-2/+3
2023-06-26ext4: make ext4_es_remove_extent() return voidBaokun Li1-28/+6
2023-04-28ext4: fix use-after-free read in ext4_find_extent for bigalloc + inlineYe Bin1-1/+2
2023-04-14ext4: Fix special handling of journalled data from extent zeroingJan Kara1-7/+14
2023-04-14ext4: Drop special handling of journalled data from extent shifting operationsJan Kara1-14/+0
2023-02-18ext4: fix inode tree inconsistency caused by ENOMEMzhanchengbin1-1/+1
2022-12-08ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inlineEric Whitney1-0/+8
2022-11-29fs/ext4: replace ternary operator with min()/max() and min_t()Jiangshan Yi1-5/+3
2022-11-07ext4: fix use-after-free in ext4_ext_shift_extentsBaokun Li1-5/+13
2022-09-30ext4: factor out ext4_free_ext_path()Ye Bin1-63/+44
2022-09-22ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0Luís Henriques1-0/+4
2022-05-24ext4: fix bug_on in __es_tree_searchBaokun Li1-5/+5
2022-05-17ext4: fix race condition between ext4_write and ext4_convert_inline_dataBaokun Li1-4/+6
2022-04-12ext4: fix fallocate to use file_modified to update permissions consistentlyDarrick J. Wong1-7/+25
2022-03-03ext4: remove redundant assignment to variable split_flag1Colin Ian King1-1/+0
2022-02-06Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+10
2022-02-03fs/ext4: fix comments mentioning i_mutexhongnanli1-4/+4
2022-02-03ext4: fast commit may not fallback for ineligible commitXin Yin1-2/+2
2022-02-03ext4: prevent used blocks from being allocated during fast commit replayXin Yin1-0/+4
2022-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+3
2022-01-15mm: introduce memalloc_retry_wait()NeilBrown1-5/+3
2022-01-10ext4: drop an always true checkAdam Borowski1-2/+1
2022-01-10ext4: remove unused assignmentsluo penghao1-2/+0
2022-01-10ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGEXin Yin1-2/+0
2021-12-23ext4: drop ineligible txn start stop APIsHarshad Shirwadkar1-4/+2
2021-12-23ext4: use ext4_journal_start/stop for fast commit transactionsHarshad Shirwadkar1-3/+0
2021-11-04ext4: inline data inode fast commit replay fixesHarshad Shirwadkar1-0/+3
2021-11-04ext4: prevent partial update of the extent blocksZhang Yi1-3/+16
2021-11-04ext4: check for inconsistent extents between index and leaf blockZhang Yi1-23/+36
2021-11-04ext4: check for out-of-order index extents in ext4_valid_extent_entries()Zhang Yi1-5/+12
2021-11-04ext4: refresh the ext4_ext_path struct after dropping i_data_sem.yangerkun1-1/+13
2021-11-04ext4: ensure enough credits in ext4_ext_shift_path_extentsyangerkun1-34/+15
2021-11-04ext4: correct the left/middle/right debug message for binsearchyangerkun1-6/+8
2021-10-03Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+14
2021-09-02Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-6/+11
2021-09-02ext4: add error checking to ext4_ext_replay_set_iblocks()Theodore Ts'o1-5/+14
2021-08-30ext4: Support for checksumming from journal triggersJan Kara1-4/+8
2021-08-30ext4: if zeroout fails fall back to splitting the extent nodeTheodore Ts'o1-2/+3
2021-07-13ext4: Convert to use mapping->invalidate_lockJan Kara1-11/+14
2021-06-24ext4: no need to verify new add extent blockyangerkun1-0/+1
2021-06-17ext4: fix kernel infoleak via ext4_extent_headerAnirudh Rayabharam1-0/+3
2021-06-06ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failedYe Bin1-20/+23
2021-03-21ext4: initialize ret to suppress smatch warningTheodore Ts'o1-1/+1
2021-02-08ext4: reset retry counter when ext4_alloc_file_blocks() makes progressEric Whitney1-8/+8
2020-12-17ext4: fix an IS_ERR() vs NULL checkDan Carpenter1-2/+2
2020-12-03ext4: remove redundant assignment of variable exColin Ian King1-1/+0
2020-11-06ext4: fixup ext4_fc_track_* functions' signatureHarshad Shirwadkar1-1/+1
2020-11-06ext4: drop redundant calls ext4_fc_track_rangeHarshad Shirwadkar1-5/+0
2020-10-28ext4: do not use extent after put_bhyangerkun1-15/+15
2020-10-21ext4: fast commit recovery pathHarshad Shirwadkar1-0/+261
2020-10-21ext4: main fast-commit commit pathHarshad Shirwadkar1-14/+34
2020-10-18ext4: fix bs < ps issue reported with dioread_nolock mount optRitesh Harjani1-1/+1
2020-10-18ext4: use common helpers in all places reading metadata bufferszhangyi (F)1-2/+1
2020-10-18ext4: clear buffer verified flag if read meta block from diskzhangyi (F)1-0/+1
2020-10-18ext4: delete duplicated words + other fixesRandy Dunlap1-1/+1
2020-08-19ext4: limit the length of per-inode prealloc listbrookxu1-5/+5
2020-08-07ext4: check journal inode extents more carefullyJan Kara1-10/+6
2020-08-06ext4: delete unnecessary checks before brelse()Markus Elfring1-4/+2
2020-07-29ext4: fix spelling mistakes in extents.cKeyur Patel1-5/+5
2020-06-11ext4: fix partial cluster initialization when splitting extentJeffle Xu1-1/+1
2020-06-03fs: handle FIEMAP_FLAG_SYNC in fiemap_prepChristoph Hellwig1-1/+1
2020-06-03fs: move fiemap range validation into the file systems instancesChristoph Hellwig1-2/+3
2020-06-03ext4: remove the call to fiemap_check_flags in ext4_fiemapChristoph Hellwig1-3/+0
2020-06-03ext4: split _ext4_fiemapChristoph Hellwig1-37/+35
2020-06-03ext4: fix fiemap size checks for bitmap filesChristoph Hellwig1-0/+31
2020-06-03ext4: rework map struct instantiation in ext4_ext_map_blocks()Eric Whitney1-25/+25
2020-06-03ext4: make ext_debug() implementation to use pr_debug()Ritesh Harjani1-75/+69
2020-06-03ext4: replace EXT_DEBUG with __maybe_unused in ext4_ext_handle_unwritten_exte...Ritesh Harjani1-3/+1
2020-06-03ext4: improve ext_debug() msg in case of block allocation failureRitesh Harjani1-2/+2
2020-06-03ext4: avoid ext4_error()'s caused by ENOMEM in the truncate pathTheodore Ts'o1-10/+33
2020-06-03ext4: fix a typo in a commentChristophe JAILLET1-1/+1
2020-06-03ext4: clean up ext4_ext_convert_to_initialized() error handlingEric Whitney1-5/+18
2020-06-03ext4: clean up GET_BLOCKS_PRE_IO error handlingEric Whitney1-6/+20
2020-06-03ext4: remove redundant GET_BLOCKS_CONVERT codeEric Whitney1-18/+8
2020-06-03ext4: remove dead GET_BLOCKS_ZERO codeEric Whitney1-8/+0
2020-06-03ext4: don't ignore return values from ext4_ext_dirty()Harshad Shirwadkar1-1/+5
2020-06-03ext4: handle ext4_mark_inode_dirty errorsHarshad Shirwadkar1-14/+20
2020-06-03ext4: remove EXT4_GET_BLOCKS_KEEP_SIZE flagEric Whitney1-4/+0
2020-04-15ext4: do not zeroout extents beyond i_disksizeJan Kara1-4/+4
2020-04-01ext4: save all error info in save_error_info() and drop ext4_set_errno()Theodore Ts'o1-15/+12
2020-03-14ext4: remove map_from_cluster from ext4_ext_map_blocksEric Whitney1-4/+1
2020-03-14ext4: clean up ext4_ext_insert_extent() call in ext4_ext_map_blocks()Eric Whitney1-13/+17
2020-03-14ext4: move ext4_fiemap to use iomap frameworkRitesh Harjani1-242/+48
2020-03-14ext4: optimize ext4_ext_precache for 0 depthRitesh Harjani1-3/+6
2020-03-05ext4: clean up error return for convert_initialized_extent()Eric Whitney1-9/+9
2020-03-05ext4: delete declaration for ext4_split_extent()Eric Whitney1-7/+0
2020-03-05ext4: remove EXT4_EOFBLOCKS_FL and associated codeEric Whitney1-85/+7
2020-01-23ext4: fix extent_status fragmentation for plain filesDmitry Monakhov1-20/+27
2020-01-17ext4: add missing braces in ext4_ext_drop_refs()Eric Biggers1-1/+2
2020-01-17ext4: fix some nonstandard indentation in extents.cEric Biggers1-11/+11
2020-01-17ext4: remove obsolete comment from ext4_can_extents_be_merged()Eric Biggers1-5/+0
2020-01-17ext4: fix documentation for ext4_ext_try_to_merge()Eric Biggers1-3/+4
2020-01-17ext4: make some functions static in extents.cEric Biggers1-7/+15
2020-01-17ext4: remove redundant S_ISREG() checks from ext4_fallocate()Eric Biggers1-9/+0
2020-01-17ext4: clean up len and offset checks in ext4_fallocate()Eric Biggers1-15/+13
2020-01-17ext4: remove ext4_{ind,ext}_calc_metadata_amount()Eric Biggers1-47/+0
2020-01-17ext4: re-enable extent zeroout optimization on encrypted filesEric Biggers1-3/+0
2020-01-17ext4: allow ZERO_RANGE on encrypted filesEric Biggers1-6/+1
2020-01-17ext4: use true,false for bool variablezhengbin1-2/+2
2019-12-26ext4: save the error code which triggered an ext4_error() in the superblockTheodore Ts'o1-0/+1
2019-11-05Merge branch 'mb/dio' into masterTheodore Ts'o1-9/+2
2019-11-05Merge branch 'jk/jbd2-revoke-overflow'Theodore Ts'o1-32/+57
2019-11-05ext4: Reserve revoke credits for freed blocksJan Kara1-7/+20
2019-11-05ext4: Provide function to handle transaction restartsJan Kara1-28/+40
2019-11-05ext4: introduce direct I/O write using iomap infrastructureMatthew Bobrowski1-9/+2
2019-10-22ext4: Add support for blocksize < pagesize in dioread_nolockRitesh Harjani1-2/+9
2019-10-22ext4: Add API to bring in support for unwritten io_end_vec conversionRitesh Harjani1-15/+27
2019-08-22ext4: fix warning inside ext4_convert_unwritten_extents_endioRakesh Pandit1-2/+2
2019-08-11ext4: add new ioctl EXT4_IOC_GET_ES_CACHETheodore Ts'o1-8/+86
2019-06-19ext4: clean up kerneldoc warnigns when building with W=1Theodore Ts'o1-2/+2
2019-05-22ext4: don't perform block validity checks on the journal inodeTheodore Ts'o1-4/+8
2019-05-10ext4: zero out the unused memory region in the extent tree blockSriram Rajagopalan1-2/+15
2019-03-12Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-18/+11
2019-02-28ext4: fix bigalloc cluster freeing when hole punching under loadEric Whitney1-7/+10
2019-02-10ext4: cleanup clean_bdev_aliases() callszhangyi (F)1-11/+1
2019-01-23ext4: use IS_ENCRYPTED() to check encryption statusChandan Rajendra1-2/+2
2018-10-01ext4: adjust reserved cluster count when removing extentsEric Whitney1-111/+173
2018-10-01ext4: reduce reserved cluster count by number of allocated clustersEric Whitney1-160/+28
2018-10-01ext4: fix reserved cluster accounting at delayed write timeEric Whitney1-0/+79
2018-10-01ext4: generalize extents status tree search functionsEric Whitney1-40/+12
2018-07-29ext4: handle layout changes to pinned DAX mappingsRoss Zwisler1-0/+17
2018-07-08Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+6
2018-06-14ext4: verify the depth of extent tree in ext4_find_extent()Theodore Ts'o1-0/+6
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-4/+4
2018-04-12ext4: prevent right-shifting extents beyond EXT_MAX_BLOCKSEric Biggers1-5/+11
2018-03-26ext4: fix comments in ext4_swap_extents()zhenwei.pi1-2/+2
2018-03-22ext4: remove EXT4_STATE_DIOREAD_LOCK flagNikolay Borisov1-14/+5
2017-12-17ext4: fix up remaining files with SPDX cleanupsTheodore Ts'o1-13/+1
2017-12-03ext4: fix fdatasync(2) after fallocate(2) operationEryu Guan1-0/+1
2017-10-06ext4: fix interaction between i_size, fallocate, and delalloc after a crashTheodore Ts'o1-2/+4
2017-08-06ext4: fix copy paste error in ext4_swap_extents()Maninder Singh1-1/+1
2017-08-05ext4: remove unused mode parameterTahsin Erdogan1-5/+4
2017-06-21ext4: call journal revoke when freeing ea_inode blocksTahsin Erdogan1-1/+2
2017-05-29ext4: fix fdatasync(2) after extent manipulation operationsJan Kara1-0/+5
2017-05-26ext4: fix data corruption with EXT4_GET_BLOCKS_ZEROJan Kara1-43/+37
2017-01-08ext4: do not polute the extents cache while shifting extentsRoman Pen1-3/+6
2017-01-08ext4: Include forgotten start block on fallocate insert rangeRoman Pen1-6/+12
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-14Merge branch 'for-4.10/fs-unmap' of git://git.kernel.dk/linux-blockLinus Torvalds1-11/+2
2016-12-03ext4: remove another test in ext4_alloc_file_blocks()Dan Carpenter1-1/+1
2016-11-14ext4: use current_time() for inode timestampsDeepa Dinamani1-5/+5
2016-11-13ext4: allow ext4_ext_truncate() to return an errorTheodore Ts'o1-8/+7
2016-11-04ext4: Use clean_bdev_aliases() instead of iterationJan Kara1-11/+2
2016-09-15ext4: create EXT4_MAX_BLOCKS() macroFabian Frederick1-12/+3
2016-09-15ext4: remove unneeded test in ext4_alloc_file_blocks()Fabian Frederick1-7/+2
2016-09-15ext4: fix memory leak in ext4_insert_range()Fabian Frederick1-0/+3
2016-07-15ext4: verify extent header depthVegard Nossum1-0/+4
2016-06-30ext4: check for extents that wrap aroundVegard Nossum1-2/+6
2016-05-05ext4: remove unmeetable inconsisteny check from ext4_find_extent()Nicolai Stange1-7/+0
2016-04-27ext4: remove trailing \n from ext4_warning/ext4_error callsJakub Wilk1-2/+2
2016-04-25ext4: fix jbd2 handle extension in ext4_ext_truncate_extend_restart()Theodore Ts'o1-2/+7
2016-03-09ext4: fix misspellings in comments.Adam Buchbinder1-1/+1
2016-03-09ext4: return hole from ext4_map_blocks()Jan Kara1-2/+9
2016-03-09ext4: factor out determining of hole sizeJan Kara1-33/+47
2016-03-08ext4: simplify io_end handling for AIO DIOJan Kara1-29/+6
2016-02-22ext4: trim unused parameter from convert_initialized_extent()Eric Whitney1-2/+2
2016-02-12ext4: remove unused parameter "newblock" in convert_initialized_extent()Eryu Guan1-2/+2
2016-01-22wrappers for ->i_mutex accessAl Viro1-10/+10
2015-12-07ext4: implement allocation of pre-zeroed blocksJan Kara1-0/+8
2015-12-07ext4: provide ext4_issue_zeroout()Jan Kara1-10/+2
2015-12-07ext4: fix races of writeback with punch hole and zero rangeJan Kara1-0/+5
2015-12-07ext4: fix races between buffered IO and collapse / insert rangeJan Kara1-28/+31
2015-12-07ext4: move unlocked dio protection from ext4_alloc_file_blocks()Jan Kara1-11/+10
2015-12-07ext4: fix races between page faults and hole punchingJan Kara1-24/+30
2015-11-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-3/+3
2015-10-17ext4: clean up feature test macros with predicate functionsDarrick J. Wong1-2/+2
2015-10-17ext4: call out CRC and corruption errors with specific error codesDarrick J. Wong1-37/+38
2015-10-03ext4 crypto: fix bugs in ext4_encrypted_zeroout()Theodore Ts'o1-0/+3
2015-09-29fs: Drop unlikely before IS_ERR(_OR_NULL)Viresh Kumar1-3/+3
2015-07-05Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2015-07-02ext4: avoid deadlocks in the writeback path by using sb_getblk_gfpNikolay Borisov1-3/+3
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2015-06-21ext4: prevent ext4_quota_write() from failing due to ENOSPCTheodore Ts'o1-0/+2
2015-06-15ext4: wait for existing dio workers in ext4_alloc_file_blocks()Lukas Czerner1-0/+6
2015-06-15ext4: recalculate journal credits as inode depth changesLukas Czerner1-0/+16
2015-06-09ext4: Add support FALLOC_FL_INSERT_RANGE for fallocateNamjae Jeon1-52/+261
2015-06-08ext4: BUG_ON assertion repeated for inode1, not done for inode2David Moore1-1/+1
2015-06-02writeback: separate out include/linux/backing-dev-defs.hTejun Heo1-0/+1
2015-05-15ext4: fix an ext3 collapse range regression in xfstestsTheodore Ts'o1-0/+8
2015-05-14ext4: check for zero length extent explicitlyEryu Guan1-1/+1
2015-05-02ext4: move check under lock scope to close a race.Davide Italiano1-7/+8
2015-04-12ext4 crypto: implement the ext4 encryption write pathMichael Halcrow1-0/+17
2015-04-03ext4: don't release reserved space for previously allocated clusterEric Whitney1-13/+1
2015-04-03ext4: fix loss of delalloc extent info in ext4_zero_range()Eric Whitney1-13/+0
2015-04-03ext4: allocate entire range in zero rangeLukas Czerner1-12/+19
2015-04-02ext4: fix comments in ext4_can_extents_be_merged()Xiaoguang Wang1-6/+0
2015-01-02Revert "ext4: fix suboptimal seek_{data,hole} extents traversial"Theodore Ts'o1-2/+2
2014-12-02ext4: fix suboptimal seek_{data,hole} extents traversialDmitry Monakhov1-2/+2
2014-12-02ext4: ext4_inline_data_fiemap should respect callers argumentDmitry Monakhov1-1/+2