aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-05ext4: add some kunit stub for mballoc kunit testKemeng Shi1-0/+10
2023-10-05ext4: fix traditional comparison using max/min methodLu Hongfei1-4/+2
2023-08-27ext4: add correct group descriptors and reserved GDT blocks to system zoneWang Jianjian1-4/+11
2023-06-14ext4: drop the call to ext4_error() from ext4_get_group_info()Fabio M. De Francesco1-11/+9
2023-06-14Revert "ext4: remove unnecessary check in ext4_bg_num_gdb_nometa"Kemeng Shi1-1/+4
2023-05-13ext4: allow ext4_get_group_info() to failTheodore Ts'o1-1/+17
2023-05-07ext4: fix WARNING in mb_find_extentYe Bin1-0/+25
2023-03-23ext4: remove unused group parameter in ext4_block_bitmap_csum_verifyKemeng Shi1-2/+1
2023-03-23ext4: improve inode table blocks counting in ext4_num_overhead_clustersKemeng Shi1-43/+47
2023-03-23ext4: stop trying to verify just initialized bitmap in ext4_read_block_bitmap...Kemeng Shi1-1/+1
2023-03-23ext4: remove stale comment in ext4_init_block_bitmapKemeng Shi1-2/+0
2023-03-23ext4: remove unnecessary check in ext4_bg_num_gdb_nometaKemeng Shi1-4/+1
2023-03-23ext4: call ext4_bg_num_gdb_[no]meta directly in ext4_num_base_meta_clustersKemeng Shi1-2/+2
2023-03-23ext4: correct validation check of inode table in ext4_valid_block_bitmapKemeng Shi1-3/+3
2023-03-23ext4: properly handle error of ext4_init_block_bitmap in ext4_read_block_bitm...Kemeng Shi1-5/+7
2022-08-02ext4: use ext4_debug() instead of jbd_debug()Jan Kara1-1/+1
2022-03-15ext4: fix kernel doc warningsTheodore Ts'o1-0/+1
2021-08-30ext4: flush background discard kwork when retry allocationWang Jianchao1-1/+7
2021-04-09ext4: fix trailing whitespaceJack Qiu1-1/+1
2021-03-06ext4: shrink race window in ext4_should_retry_alloc()Eric Whitney1-12/+26
2020-12-03ext4: use ASSERT() to replace J_ASSERT()Chunguang Xu1-1/+1
2020-10-21ext4: fast commit recovery pathHarshad Shirwadkar1-1/+6
2020-10-18ext4: use common helpers in all places reading metadata bufferszhangyi (F)1-5/+3
2020-10-18ext4: clear buffer verified flag if read meta block from diskzhangyi (F)1-0/+1
2020-08-07ext4: indicate via a block bitmap read is prefetched via a tracepointTheodore Ts'o1-1/+1
2020-08-06ext4: add prefetching for block allocation bitmapsAlex Zhuravlev1-3/+11
2020-06-03ext4: balloc: use task_pid_nr() helperRitesh Harjani1-2/+3
2020-04-15ext4: fix return-value types in several function commentsJosh Triplett1-2/+2
2020-04-01ext4: save all error info in save_error_info() and drop ext4_set_errno()Theodore Ts'o1-4/+3
2020-02-21ext4: fix potential race between online resizing and write operationsTheodore Ts'o1-3/+11
2019-12-26ext4: simulate various I/O and checksum errors when reading metadataTheodore Ts'o1-1/+3
2019-12-26ext4: save the error code which triggered an ext4_error() in the superblockTheodore Ts'o1-0/+1
2019-06-19ext4: clean up kerneldoc warnigns when building with W=1Theodore Ts'o1-2/+2
2018-08-01ext4: use ext4_warning() for sb_getblk failureWang Shilong1-3/+3
2018-07-12ext4: check for allocation block validity with block group lockedTheodore Ts'o1-0/+3
2018-06-14ext4: only look at the bg_flags field if it is validTheodore Ts'o1-1/+10
2018-06-13ext4: always check block group bounds in ext4_init_block_bitmap()Theodore Ts'o1-7/+3
2018-05-12ext4: mark block bitmap corrupted when foundWang Shilong1-0/+4
2018-05-12ext4: add new ext4_mark_group_bitmap_corrupted() helperWang Shilong1-22/+7
2018-04-24ext4: fix bitmap position validationLukas Czerner1-4/+5
2018-03-26ext4: add validity checks for bitmap block numbersTheodore Ts'o1-2/+14
2018-02-19ext4: don't update checksum of new initialized bitmapsTheodore Ts'o1-2/+1
2018-01-11ext4: use 'sbi' instead of 'EXT4_SB(sb)'Jun Piao1-2/+2
2017-11-14Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-8/+7
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-01ext4: retry allocations conservativelyTheodore Ts'o1-8/+7
2016-07-26Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+6
2016-07-05ext4: validate s_reserved_gdt_blocks on mountTheodore Ts'o1-0/+3
2016-06-26ext4: optimize ext4_should_retry_alloc() to improve ENOSPC performanceTheodore Ts'o1-1/+3
2016-06-07fs: have submit_bh users pass in op and flags separatelyMike Christie1-1/+1
2016-05-13ext4: fix race in transient ENOSPC detectionJan Kara1-1/+2
2016-02-11ext4: fix scheduling in atomic on group checksum failureJan Kara1-3/+4
2015-10-17ext4: make the bitmap read routines return real error codesDarrick J. Wong1-33/+41
2015-10-17ext4: clean up feature test macros with predicate functionsDarrick J. Wong1-9/+7
2015-10-17ext4: call out CRC and corruption errors with specific error codesDarrick J. Wong1-1/+1
2015-06-08ext4: verify block bitmap even after fresh initializationLukas Czerner1-2/+2
2015-04-03ext4: remove unnecessary lock/unlock of i_block_reservation_lockMaurizio Lombardi1-2/+0
2015-04-02ext4: remove unused header filesSheng Yong1-1/+0
2014-10-13ext4: move error report out of atomic context in ext4_init_block_bitmap()Dmitry Monakhov1-4/+8
2014-09-04ext4: prepare to drop EXT4_STATE_DELALLOC_RESERVEDTheodore Ts'o1-2/+1
2014-07-15ext4: remove metadata reservation checksTheodore Ts'o1-1/+0
2014-06-26ext4: decrement free clusters/inodes counters when block group declared badNamjae Jeon1-0/+16
2014-05-12ext4: make local functions staticStephen Hemminger1-10/+11
2014-05-12ext4: fix block bitmap validation when bigalloc, ^flex_bgDarrick J. Wong1-5/+7
2014-05-12ext4: fix block bitmap initialization under sparse_super2Darrick J. Wong1-14/+19
2014-04-14ext4: fix ext4_count_free_clusters() with EXT4FS_DEBUG and bigalloc enabledAzat Khuzhin1-1/+1
2013-10-31ext4: don't count free clusters from a corrupt block groupDarrick J. Wong1-2/+11
2013-08-28ext4: mark group corrupt on group descriptor checksumDarrick J. Wong1-5/+4
2013-08-28ext4: mark block group as corrupt on block bitmap errorDarrick J. Wong1-0/+3
2013-08-28ext4: fix type declaration of ext4_validate_block_bitmapDarrick J. Wong1-2/+2
2013-08-28ext4: error out if verifying the block bitmap failsDarrick J. Wong1-2/+6
2013-07-05ext4: fix ext4_get_group_number()Theodore Ts'o1-2/+2
2013-06-06ext4: optimize test_root()Theodore Ts'o1-5/+9
2013-04-20ext4: mark all metadata I/O with REQ_METATheodore Ts'o1-1/+1
2013-04-09ext4: introduce reserved spaceLukas Czerner1-5/+13
2013-04-03ext4: introduce ext4_get_group_number()Lukas Czerner1-7/+18
2013-04-03ext4: make ext4_block_in_group() much more efficientLukas Czerner1-6/+16
2013-03-02ext4: convert number of blocks to clusters properlyLukas Czerner1-1/+1
2013-02-22ext4: fix free clusters calculation in bigalloc filesystemLukas Czerner1-2/+7
2013-01-12ext4: check bh in ext4_read_block_bitmap()Eryu Guan1-1/+3
2012-10-22ext4: Checksum the block bitmap properly with bigalloc enabledTao Ma1-5/+3
2012-08-17ext4: don't call ext4_error while block group is lockedTheodore Ts'o1-25/+37
2012-06-30ext4: pass a char * to ext4_count_free() instead of a buffer_head ptrTheodore Ts'o1-1/+2
2012-06-07ext4: fix the free blocks calculation for ext3 file systems w/ uninit_bgTheodore Ts'o1-4/+4
2012-06-01Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-8/+33
2012-05-15userns: Convert ext4 to user kuid/kgid where appropriateEric W. Biederman1-2/+2
2012-04-29ext4: make block group checksums use metadata_csum algorithmDarrick J. Wong1-2/+2
2012-04-29ext4: calculate and verify block bitmap checksumDarrick J. Wong1-7/+32
2012-02-20ext4: fix balloc.c printk-format-warningHeiko Carstens1-1/+1
2012-02-20ext4: fix race when setting bitmap_uptodate flagTheodore Ts'o1-19/+44
2012-01-04ext4: make more symbols staticEric Sandeen1-1/+3
2011-11-21ext4: fix up a undefined error in ext4_free_blocks in debugging codeYongqiang Yang1-1/+1
2011-09-09ext4: rename ext4_has_free_blocks() to ext4_has_free_clusters()Theodore Ts'o1-21/+22
2011-09-09ext4: rename ext4_claim_free_blocks() to ext4_claim_free_clusters()Theodore Ts'o1-4/+4
2011-09-09ext4: rename ext4_free_blocks_after_init() to ext4_free_clusters_after_init()Theodore Ts'o1-3/+3
2011-09-09ext4: rename ext4_count_free_blocks() to ext4_count_free_clusters()Theodore Ts'o1-5/+6
2011-09-09ext4: Rename ext4_free_blks_{count,set}() to refer to clustersTheodore Ts'o1-4/+4
2011-09-09ext4: Fix bigalloc quota accounting and i_blocks valueAditya Kali1-2/+3
2011-09-09ext4: convert s_{dirty,free}blocks_counter to s_{dirty,free}clusters_counterTheodore Ts'o1-5/+5
2011-09-09ext4: convert block group-relative offsets to use clustersTheodore Ts'o1-2/+4
2011-09-09ext4: bigalloc changes to block bitmap initialization functionsTheodore Ts'o1-41/+90
2011-09-09ext4: split out ext4_free_blocks_after_init()Theodore Ts'o1-53/+52
2011-09-09ext4: factor out block group accounting into functionsTheodore Ts'o1-32/+48
2011-06-28ext4: refactor duplicated block placement codeEric Sandeen1-0/+48
2011-05-25ext4: add flag to ext4_has_free_blocksAllison Henderson1-6/+11
2011-05-09ext4: move ext4_add_groupblocks() to mballoc.cAmir Goldstein1-124/+0
2011-05-01ext4: remove dead code in ext4_has_free_blocks()Shaohua Li1-5/+0
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-21ext4: add more tracepoints and use dev_t in the trace bufferJiaying Zhang1-0/+3
2011-01-10ext4: replace i_delalloc_reserved_flag with EXT4_STATE_DELALLOC_RESERVEDTheodore Ts'o1-1/+2
2010-10-27ext4: rename mark_bitmap_end() to ext4_mark_bitmap_end()Theodore Ts'o1-1/+2
2010-10-27ext4: make various ext4 functions be staticTheodore Ts'o1-1/+1
2010-06-11ext4: Clean up s_dirt handlingTheodore Ts'o1-5/+1
2010-05-16ext4: don't use quota reservation for speculative metadataEric Sandeen1-2/+3
2010-03-03ext4: consolidate in_range() definitionsAkinobu Mita1-3/+0
2010-03-03ext4: cleanup to use ext4_group_first_block_no()Akinobu Mita1-2/+1
2010-02-15ext4: move __func__ into a macro for ext4_warning, ext4_errorEric Sandeen1-19/+10
2009-11-22ext4: fold ext4_free_blocks() and ext4_mb_free_blocks()Theodore Ts'o1-38/+0
2009-11-23ext4: fix uninit block bitmap initialization when s_meta_first_bg is non-zeroTheodore Ts'o1-1/+7
2009-08-17ext4: open-code ext4_mb_update_group_infoEric Sandeen1-1/+1
2009-05-02ext4: Convert ext4_lock_group to use sb_bgl_lockAneesh Kumar K.V1-6/+6
2009-05-01ext4: Move fs/ext4/group.h into ext4.hTheodore Ts'o1-1/+0
2009-05-01ext4: Avoid races caused by on-line resizing and SMP memory reorderingTheodore Ts'o1-8/+7
2009-03-04ext4: Use atomic_t's in struct flex_groupsTheodore Ts'o1-3/+2
2009-02-06ext4: remove call to ext4_group_desc() in ext4_group_used_meta_blocks()Theodore Ts'o1-6/+3
2009-03-26ext4: Use lowercase names of quota functionsJan Kara1-1/+1
2009-02-26ext4: don't call jbd2_journal_force_commit_nested without journalEric Sandeen1-1/+3
2009-01-26ext4: Fix building with EXT4FS_DEBUGThadeu Lima de Souza Cascardo1-3/+3
2009-01-05ext4: Use new buffer_head flag to check uninit group bitmaps initializationAneesh Kumar K.V1-2/+23
2009-01-03ext4: code cleanupAneesh Kumar K.V1-1/+1
2009-01-05ext4: Use high 16 bits of the block group descriptor's free counts fieldsAneesh Kumar K.V1-6/+7
2009-01-05ext4: Use EXT4_GROUP_INFO_NEED_INIT_BIT during resizeAneesh Kumar K.V1-8/+13
2009-01-05ext4: Add blocks added during resize to bitmapAneesh Kumar K.V1-106/+30
2008-11-05ext4: Change unsigned long to unsigned intTheodore Ts'o1-7/+7
2009-01-05ext4: Make ext4_group_t be an unsigned intTheodore Ts'o1-5/+5
2009-01-05ext4: remove extraneous newlines from calls to ext4_error() and ext4_warning()Theodore Ts'o1-1/+1
2009-01-07ext4: Allow ext4 to run without a journalFrank Mayhar1-2/+2
2008-12-12ext4: remove do_blk_alloc()Theodore Ts'o1-34/+15
2008-12-07ext4: remove ext4_new_meta_block()Theodore Ts'o1-17/+0
2009-01-01ext4: remove ext4_new_blocks() and call ext4_mb_new_blocks() directlyTheodore Ts'o1-20/+0
2008-10-29ext4: fix printk format warningAlexander Beregalov1-1/+1
2008-12-25Merge branch 'next' into for-linusJames Morris1-1/+1
2008-12-10revert "percpu_counter: new function percpu_counter_sum_and_set"Andrew Morton1-2/+2
2008-12-10revert "percpu counter: clean up percpu_counter_sum_and_set()"Andrew Morton1-2/+2
2008-11-14CRED: Wrap task credential accesses in the Ext4 filesystemDavid Howells1-1/+1
2008-10-28delay capable() check in ext4_has_free_blocks()Eric Sandeen1-12/+14
2008-10-28merge ext4_claim_free_blocks & ext4_has_free_blocksEric Sandeen1-41/+16
2008-10-10ext4: Don't reuse released data blocks until transaction commitsAneesh Kumar K.V1-2/+10
2008-10-10ext4: fix initialization of UNINIT bitmap blocksFrederic Bohe1-1/+3
2008-10-10ext4: Remove old legacy block allocatorTheodore Ts'o1-1344/+11
2008-09-08ext4: Don't add the inode to journal handle until after the block is allocatedAneesh Kumar K.V1-1/+1
2008-09-08ext4: Fix ext4 nomballoc allocator for ENOSPCAneesh Kumar K.V1-8/+10
2008-10-08ext4: Signed arithmetic fixAneesh Kumar K.V1-9/+10
2008-10-10ext4: Add percpu dirty block accounting.Aneesh Kumar K.V1-22/+40
2008-09-08ext4: Retry block reservationAneesh Kumar K.V1-1/+7
2008-10-09ext4: Make sure all the block allocation paths reserve blocksAneesh Kumar K.V1-16/+42
2008-09-08ext4: Fix whitespace checkpatch warnings/errorsTheodore Ts'o1-35/+35
2008-09-08ext4: Add printk priority levels to clean up checkpatch warningsTheodore Ts'o1-14/+15
2008-10-09percpu counter: clean up percpu_counter_sum_and_set()Mingming Cao1-1/+1
2008-08-19ext4: make sure ext4_has_free_blocks returns 0 for ENOSPCAneesh Kumar K.V1-0/+3
2008-08-02ext4: lock block groups when initializingEric Sandeen1-0/+3
2008-08-02ext4: sync up block and inode bitmap reading functionsEric Sandeen1-4/+4
2008-07-14ext4: delayed allocation ENOSPC handlingMingming Cao1-17/+32
2008-07-11percpu_counter: new function percpu_counter_sum_and_setMingming Cao1-1/+1
2008-07-11ext4: mballoc avoid use root reserved blocks for non root allocationMingming Cao1-18/+33
2008-07-11ext4: cleanup block allocatorAneesh Kumar K.V1-53/+74
2008-07-11ext4: Use inode preallocation with -o noextentsAneesh Kumar K.V1-2/+34
2008-07-11ext4: fix ext4_init_block_bitmap() for metablock block groupAkinobu Mita1-6/+1
2008-07-11ext4: Fix sparse warningAneesh Kumar K.V1-1/+1
2008-07-11ext4: New inode allocation for FLEX_BG meta-data groups.Jose R. Santos1-0/+14
2008-07-11ext4: Rename read_block_bitmap() to ext4_read_block_bitmap()Theodore Ts'o1-6/+6
2008-07-11ext4: Use BUG_ON() instead of BUG()Julia Lawall1-2/+1
2008-06-03ext4: Fix uninit block group initialization with FLEX_BGJose R. Santos1-9/+62
2008-05-15ext4: Retry block allocation if new blocks are allocated from system zone.Aneesh Kumar K.V1-6/+11
2008-04-29ext4: move headers out of include/linuxChristoph Hellwig1-3/+3
2008-04-17ext4: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-7/+7
2008-04-17ext4: use ext4_group_first_block_no()Akinobu Mita1-3/+3
2008-04-17ext4: le*_add_cpu conversionMarcin Slusarz1-5/+2
2008-02-06ext[234]: cleanup ext[234]_bg_num_gdb()Akinobu Mita1-5/+1
2008-02-06ext[234]: fix comment for nonexistent variableAkinobu Mita1-1/+1
2008-01-29ext4: Add multi block allocator for ext4Alex Tomas1-11/+56
2008-01-28ext4: fix up EXT4FS_DEBUG buildsEric Sandeen1-3/+3
2008-01-28ext4: Convert truncate_mutex to read write semaphore.Aneesh Kumar K.V1-1/+1
2008-01-28ext4: add block bitmap validationAneesh Kumar K.V1-18/+81
2008-01-28ext4: Return after ext4_error in case of failuresAneesh Kumar K.V1-2/+6
2008-01-28ext4: add ext4_group_t, and change all group variables to this type.Avantika Mathur1-36/+33
2007-11-13Revert "ext2/ext3/ext4: add block bitmap validation"Linus Torvalds1-41/+0
2007-10-17ext4: Convert bg_inode_bitmap and bg_inode_tableAneesh Kumar K.V1-1/+1
2007-10-17Ext4: Uninitialized Block GroupsAndreas Dilger1-3/+109
2007-10-17ext2/ext3/ext4: add block bitmap validationAneesh Kumar K.V1-15/+47
2007-10-17lib: percpu_counter_subPeter Zijlstra1-1/+1
2007-10-17lib: percpu_counter_addPeter Zijlstra1-2/+2
2007-07-18jbd2: Fix CONFIG_JBD_DEBUG ifdef to be CONFIG_JBD2_DEBUGJose R. Santos1-2/+2
2007-07-16mistaken ext4_inode_bitmap for ext4_block_bitmapToshiyuki Okajima1-1/+1
2007-05-31EXT4: Fix whitespaceDave Kleikamp1-3/+3
2007-02-20[PATCH] ext[234]: update documentationAneesh Kumar K.V1-1/+1
2006-12-07[PATCH] ext4 balloc: fix _with_rsv freezeHugh Dickins1-1/+1
2006-12-07[PATCH] ext4 balloc: use io_error labelHugh Dickins1-4/+2
2006-12-07[PATCH] ext4 balloc: say rb_entry not list_entryHugh Dickins1-3/+3
2006-12-07[PATCH] ext4 balloc: fix off-by-one against rsv_endHugh Dickins1-1/+1