aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/resize.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07ext4: enable meta_bg only when new desc blocks are neededSrivathsa Dara1-1/+1
2024-03-07ext4: fix corruption during on-line resizeMaximilian Heyne1-1/+2
2023-12-14ext4: reduce unnecessary memory allocation in alloc_flex_gd()Baokun Li1-2/+12
2023-12-14ext4: avoid online resizing failures due to oversized flex bgBaokun Li1-8/+17
2023-12-14ext4: remove unnecessary check from alloc_flex_gd()Baokun Li1-3/+0
2023-12-14ext4: unify the type of flexbg_size to unsigned intBaokun Li1-6/+7
2023-10-05ext4: remove unnecessary initialization of count2 in set_flexbg_block_bitmapKemeng Shi1-2/+1
2023-10-05ext4: remove unnecessary check to avoid repeat update_backups for the same gdbKemeng Shi1-4/+0
2023-10-05ext4: simplify the gdbblock calculation in add_new_gdb_meta_bgKemeng Shi1-15/+9
2023-10-05ext4: use saved local variable sbi instead of EXT4_SB(sb)Kemeng Shi1-5/+5
2023-10-05ext4: remove EXT4FS_DEBUG defination in resize.cKemeng Shi1-2/+0
2023-10-05ext4: calculate free_clusters_count in cluster unit in verify_group_inputKemeng Shi1-2/+3
2023-10-05ext4: remove commented code in reserve_backup_gdbKemeng Shi1-3/+0
2023-10-05ext4: remove redundant check of countKemeng Shi1-10/+8
2023-10-05ext4: fix typo in setup_new_flex_group_blocksKemeng Shi1-1/+1
2023-10-05ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocksKemeng Shi1-7/+2
2023-10-05ext4: correct return value of ext4_convert_meta_bgKemeng Shi1-3/+1
2023-10-05ext4: add missed brelse in update_backupsKemeng Shi1-1/+3
2023-10-05ext4: correct offset of gdb backup in non meta_bg group to update_backupsKemeng Shi1-2/+4
2023-03-23ext4: remove unused group parameter in ext4_block_bitmap_csum_setKemeng Shi1-3/+2
2023-03-23ext4: remove unused group parameter in ext4_inode_bitmap_csum_setKemeng Shi1-1/+1
2022-12-08ext4: fix corruption when online resizing a 1K bigalloc fsBaokun Li1-3/+3
2022-12-08ext4: fix corrupt backup group descriptors after online resizeBaokun Li1-7/+15
2022-12-08ext4: fix bad checksum after online resizeBaokun Li1-2/+2
2022-12-01ext4: remove redundant variable errJinpeng Cui1-3/+1
2022-10-27ext4: update the backup superblock's at the end of the online resizeTheodore Ts'o1-0/+5
2022-09-27ext4: continue to expand file system when the target size doesn't reachJerry Lee 李修賢1-1/+1
2022-08-02ext4: avoid resizing to a partial cluster sizeKiselev, Oleg1-0/+10
2022-08-02ext4: reduce computation of overhead during resizeKiselev, Oleg1-2/+21
2022-08-02ext4: update the s_overhead_clusters in the backup sb's when resizingTheodore Ts'o1-1/+4
2022-08-02ext4: update s_overhead_clusters in the superblock during an on-line resizeTheodore Ts'o1-0/+1
2022-06-18ext4: add reserved GDT blocks checkZhang Yi1-0/+10
2022-03-02ext4: use time_is_before_jiffies() instead of open coding itWang Qing1-1/+2
2022-02-25ext4: rename ext4_set_bits to mb_set_bitsRitesh Harjani1-2/+2
2022-01-10ext4: implement support for get/set fs labelLukas Czerner1-4/+15
2021-08-30ext4: Support for checksumming from journal triggersJan Kara1-15/+23
2021-06-30Revert "ext4: consolidate checks for resize of bigalloc into ext4_resize_begin"Theodore Ts'o1-4/+0
2021-06-24ext4: add check to prevent attempting to resize an fs with sparse_super2Josh Triplett1-0/+4
2021-06-24ext4: consolidate checks for resize of bigalloc into ext4_resize_beginJosh Triplett1-0/+5
2020-12-22ext4: drop ext4_handle_dirty_super()Jan Kara1-4/+4
2020-12-22ext4: protect superblock modifications with a buffer lockJan Kara1-0/+12
2020-10-18ext4: use ext4_sb_bread() instead of sb_bread()zhangyi (F)1-4/+4
2020-10-18ext4: use common helpers in all places reading metadata bufferszhangyi (F)1-1/+1
2020-10-18ext4: fix error handling code in add_new_gdbDinghao Liu1-1/+3
2020-02-21ext4: fix potential race between s_flex_groups online resizing and accessSuraj Jitindar Singh1-2/+5
2020-02-21ext4: fix potential race between online resizing and write operationsTheodore Ts'o1-11/+44
2020-01-17ext4: drop ext4_kvmalloc()Theodore Ts'o1-6/+4
2019-11-05ext4: Reserve revoke credits for freed blocksJan Kara1-5/+11
2019-11-05ext4: Provide function to handle transaction restartsJan Kara1-36/+10
2019-05-07Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2019-04-25ext4: avoid drop reference to iloc.bh twicePan Bian1-0/+1
2019-04-06block: remove CONFIG_LBDAFChristoph Hellwig1-2/+0
2019-03-15ext4: report real fs size after failed resizeLukas Czerner1-1/+5
2019-03-15ext4: add missing brelse() in add_new_gdb_meta_bg()Lukas Czerner1-2/+9
2019-02-11ext4: fix crash during online resizingJan Kara1-1/+2
2018-12-19ext4: avoid declaring fs inconsistent due to invalid file handlesTheodore Ts'o1-2/+3
2018-12-04ext4: fix EXT4_IOC_GROUP_ADD ioctlruippan (潘睿)1-1/+1
2018-11-25ext4: add ext4_sb_bread() to disambiguate ENOMEM casesTheodore Ts'o1-36/+36
2018-11-06ext4: avoid possible double brelse() in add_new_gdb() on error pathTheodore Ts'o1-0/+1
2018-11-06ext4: fix possible inode leak in the retry loop of ext4_resize_fs()Vasily Averin1-0/+4
2018-11-06ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizingVasily Averin1-1/+1
2018-11-03ext4: add missing brelse() update_backups()'s error pathVasily Averin1-1/+3
2018-11-03ext4: add missing brelse() add_new_gdb_meta_bg()'s error pathVasily Averin1-2/+1
2018-11-03ext4: add missing brelse() in set_flexbg_block_bitmap()'s error pathVasily Averin1-2/+4
2018-11-03ext4: avoid potential extra brelse in setup_new_flex_group_blocks() Vasily Averin1-6/+2
2018-09-03ext4: fix online resizing for bigalloc file systems with a 1k block sizeTheodore Ts'o1-1/+2
2018-09-03ext4: fix online resize's handling of a too-small final block groupTheodore Ts'o1-0/+20
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+6
2018-05-25ext4: fix fencepost error in check for inode count overflow during resizeJan Kara1-1/+1
2018-01-11ext4: use 'sbi' instead of 'EXT4_SB(sb)'Jun Piao1-1/+1
2017-11-14Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-38/+66
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-29ext4: add support for online resizing with bigallocharshads1-38/+66
2017-08-06ext4: fix overflow caused by missing cast in ext4_resize_fs()Jerry Lee1-1/+2
2017-02-05ext4: rename s_resize_flags to s_ext4_flagsTheodore Ts'o1-2/+3
2016-04-27ext4: remove trailing \n from ext4_warning/ext4_error callsJakub Wilk1-1/+1
2016-02-12ext4: fix potential integer overflowInsu Yun1-1/+1
2015-10-18[PATCH] fix calculation of meta_bg descriptor backupsAndy Leiserson1-2/+2
2015-10-17ext4: clean up feature test macros with predicate functionsDarrick J. Wong1-18/+12
2015-05-02ext4: fix growing of tiny filesystemsJan Kara1-2/+5
2014-12-26ext4: prevent online resize with backup superblockTheodore Ts'o1-12/+12
2014-11-20ext4: kill ext4_kvfree()Al Viro1-3/+3
2014-10-30ext4: fix overflow when updating superblock backups after resizeJan Kara1-1/+1
2014-10-20Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-2/+1
2014-10-13ext4: Replace open coded mdata csum feature to helper functionDmitry Monakhov1-2/+1
2014-09-03ext4: avoid trying to kfree an ERR_PTR pointerTheodore Ts'o1-0/+2
2014-06-08Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+13
2014-05-12ext4: add missing BUFFER_TRACE before ext4_journal_get_write_accessliang xie1-0/+13
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-1/+1
2014-02-15ext4: fix online resize with a non-standard blocks per group settingTheodore Ts'o1-1/+1
2014-02-15ext4: fix online resize with very large inode tablesTheodore Ts'o1-12/+20
2013-07-01ext4: fix corruption when online resizing a fs with 1K block sizeMaarten ter Huurne1-3/+1
2013-06-17ext4: delete unused variablesJon Ernst1-2/+1
2013-06-06ext4: verify group number in verify_group_input() before using itTheodore Ts'o1-6/+11
2013-04-21ext4: add check for inodes_count overflow in new resize ioctlTheodore Ts'o1-0/+4
2013-04-21ext4: fix online resizing for ext3-compat file systemsTheodore Ts'o1-0/+2
2013-04-03ext4: introduce ext4_get_group_number()Lukas Czerner1-5/+5
2013-03-11ext4: use atomic64_t for the per-flexbg free_clusters countTheodore Ts'o1-2/+2
2013-03-02ext4: convert number of blocks to clusters properlyLukas Czerner1-3/+3
2013-02-08ext4: pass context information to jbd2__journal_start()Theodore Ts'o1-5/+5
2013-01-13ext4: trigger the lazy inode table initialization after resizeTheodore Ts'o1-3/+5
2013-01-12ext4: use unlikely to improve the efficiency of the kernelWang Shilong1-5/+5
2013-01-12ext4: return ENOMEM if sb_getblk() failsTheodore Ts'o1-4/+4
2012-11-08ext4: remove ext4_handle_release_buffer()Eric Sandeen1-14/+3
2012-10-22ext4: Checksum the block bitmap properly with bigalloc enabledTao Ma1-2/+1
2012-09-26ext4: don't call update_backups() multiple times for the same bgTao Ma1-0/+4
2012-09-25ext4: fix double unlock buffer mess during fs-resizeDmitry Monakhov1-10/+5
2012-09-20ext4: remove erroneous ext4_superblock_csum_set() in update_backups()Tao Ma1-2/+0
2012-09-19ext4: fix online resizing when the # of block groups is constantTheodore Ts'o1-22/+14
2012-09-13ext4: log a resize update to the console every 10 secondsTheodore Ts'o1-0/+8
2012-09-13ext4: convert file system to meta_bg if needed during resizingTheodore Ts'o1-17/+133
2012-09-12ext4: set bg_itable_unused when resizingTheodore Ts'o1-0/+3
2012-09-05ext4: add online resizing support for meta_bg and 64-bit file systemsYongqiang Yang1-50/+165
2012-09-05ext4: grow the s_group_info array as neededTheodore Ts'o1-0/+8
2012-09-05ext4: grow the s_flex_groups array as needed when resizingTheodore Ts'o1-5/+9
2012-09-05ext4: avoid duplicate writes of the backup bg descriptor blocksYongqiang Yang1-4/+6
2012-09-05ext4: don't copy non-existent gdt blocks when resizingYongqiang Yang1-0/+4
2012-09-05ext4: report the original old blocks count in a debug message when resizingYongqiang Yang1-2/+1
2012-09-05ext4: ignore last group w/o enough space when resizing instead of BUG'ingYongqiang Yang1-3/+9
2012-07-22ext4: remove unnecessary argument from __ext4_handle_dirty_metadata()Artem Bityutskiy1-1/+1
2012-07-22ext4: remove unused variable in ext4_update_super()Theodore Ts'o1-1/+1
2012-07-09ext4: fix overhead calculation used by ext4_statfs()Theodore Ts'o1-1/+6
2012-05-28ext4: remove redundundant "(char *) bh->b_data" castsTheodore Ts'o1-1/+1
2012-05-28ext4: fix potential integer overflow in alloc_flex_gd()Haogang Chen1-0/+2
2012-04-29ext4: make block group checksums use metadata_csum algorithmDarrick J. Wong1-6/+3
2012-04-29ext4: calculate and verify block bitmap checksumDarrick J. Wong1-0/+7
2012-04-29ext4: calculate and verify checksums for inode bitmapsDarrick J. Wong1-0/+47
2012-04-29ext4: calculate and verify superblock checksumDarrick J. Wong1-1/+3
2012-03-20ext4: update s_free_{inodes,blocks}_count during online resizeDarrick J. Wong1-0/+4
2012-03-19ext4: change some printk() calls to use ext4_msg() insteadTheodore Ts'o1-9/+10
2012-02-20ext4: fix resize when resizing within single groupLukas Czerner1-6/+8
2012-01-04ext4: let ext4_group_add() use common codeYongqiang Yang1-299/+10
2012-01-04ext4: let ext4_group_extend() use common codeYongqiang Yang1-39/+2
2012-01-04ext4: add new online resize interfaceYongqiang Yang1-0/+177
2012-01-03ext4: add a new function which adds a flex group to a fsYongqiang Yang1-0/+82
2012-01-03ext4: add a new function which allocates bitmaps and inode tablesYongqiang Yang1-0/+111
2012-01-03ext4: pass verify_reserved_gdb() the number of group decriptorsYongqiang Yang1-3/+4
2012-01-03ext4: add a function which updates the super block during online resizingYongqiang Yang1-0/+94
2012-01-03ext4: add a function which sets up a block group descriptors of a flex bgYongqiang Yang1-0/+56
2012-01-03ext4: add a function which sets up group blocks of a flex bgYongqiang Yang1-0/+250
2012-01-03ext4: add a structure which will be used by 64bit-resize interfaceYongqiang Yang1-0/+55
2012-01-03ext4: add a function which adds a new group descriptors to a fsYongqiang Yang1-0/+46
2012-01-03ext4: add a function which extends a group without checking parametersYongqiang Yang1-0/+51
2011-09-09ext4: Rename ext4_free_blks_{count,set}() to refer to clustersTheodore Ts'o1-1/+1
2011-09-09ext4: convert the free_blocks field in s_flex_groups to be free_clustersTheodore Ts'o1-2/+2
2011-09-09ext4: convert s_{dirty,free}blocks_counter to s_{dirty,free}clusters_counterTheodore Ts'o1-2/+2
2011-08-01ext4: use ext4_kvzalloc()/ext4_kvmalloc() for s_group_desc and s_group_infoTheodore Ts'o1-6/+7
2011-07-30ext4: add missing kfree() on error return path in add_new_gdb()Dan Carpenter1-0/+1
2011-07-27ext4: simplify parameters of reserve_backup_gdb()Yongqiang Yang1-5/+7
2011-07-27ext4: simplify parameters of add_new_gdb()Yongqiang Yang1-15/+24
2011-07-27ext4: remove lock_buffer in bclean() and setup_new_group_blocks()Yongqiang Yang1-4/+0
2011-07-26ext4: simplify journal handling in setup_new_group_blocks()Yongqiang Yang1-19/+20
2011-07-26ext4: let setup_new_group_blocks() set multiple bits at a timeYongqiang Yang1-11/+7
2011-07-26ext4: fix a typo in ext4_group_extend()Yongqiang Yang1-1/+1
2011-07-26ext4: let ext4_group_add_blocks() return an error codeYongqiang Yang1-3/+7
2011-07-26ext4: rename ext4_add_groupblocks() to ext4_group_add_blocks()Yongqiang Yang1-1/+1
2011-07-26ext4: prevent a fs with errors from being resizedYongqiang Yang1-0/+10
2011-07-26ext4: prevent parallel resizers by atomic bit opsYongqiang Yang1-34/+21
2011-03-20ext4: unify the ext4_handle_release_buffer() apiAmir Goldstein1-4/+4
2011-02-21ext4: fix compile warnings with EXT4FS_DEBUG enabledTheodore Ts'o1-2/+2
2011-01-11Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tyt...Linus Torvalds1-18/+46
2011-01-10ext4: add error checking to calls to ext4_handle_dirty_metadata()Theodore Ts'o1-18/+46
2010-12-23ext4: fix on-line resizing regressionTheodore Ts'o1-0/+5
2010-10-27Merge branch 'next' into upstream-mergeTheodore Ts'o1-36/+16
2010-10-27ext4: rename mark_bitmap_end() to ext4_mark_bitmap_end()Theodore Ts'o1-3/+4
2010-10-27ext4: use sb_issue_zeroout in setup_new_group_blocksLukas Czerner1-33/+13
2010-06-14ext4: remove initialized but not read variablesAndi Kleen1-2/+0
2010-06-11ext4: Clean up s_dirt handlingTheodore Ts'o1-4/+2
2010-05-16ext4: check s_log_groups_per_flex in online resize codeEric Sandeen1-1/+2
2010-02-15ext4: move __func__ into a macro for ext4_warning, ext4_errorEric Sandeen1-64/+38
2009-12-07ext4: Return the PTR_ERR of the correct pointer in setup_new_group_blocks()Roel Kluin1-1/+1
2009-09-09ext4: Clarify the locking details in mballocAneesh Kumar K.V1-6/+1
2009-06-19block: rename CONFIG_LBD to CONFIG_LBDAFBartlomiej Zolnierkiewicz1-1/+1
2009-05-01ext4: Move fs/ext4/group.h into ext4.hTheodore Ts'o1-1/+0
2009-04-25ext4: Replace lock/unlock_super() with an explicit lock for resizingTheodore Ts'o1-17/+18
2009-03-04ext4: Use atomic_t's in struct flex_groupsTheodore Ts'o1-4/+4
2009-01-26ext4: Initialize the new group descriptor when resizing the filesystemTheodore Ts'o1-1/+2
2009-01-05ext4: mark the blocks/inode bitmap beyond end of group as usedAneesh Kumar K.V1-4/+2
2009-01-05ext4: Use high 16 bits of the block group descriptor's free counts fieldsAneesh Kumar K.V1-2/+2
2009-01-05ext4: Use EXT4_GROUP_INFO_NEED_INIT_BIT during resizeAneesh Kumar K.V1-41/+8
2009-01-05ext4: Add blocks added during resize to bitmapAneesh Kumar K.V1-9/+2
2009-01-05ext4: Make ext4_group_t be an unsigned intTheodore Ts'o1-2/+2
2009-01-05ext4: remove extraneous newlines from calls to ext4_error() and ext4_warning()Theodore Ts'o1-4/+3
2009-01-07ext4: Allow ext4 to run without a journalFrank Mayhar1-15/+16
2008-11-26ext4: When resizing set the EXT4_BG_INODE_ZEROED flag for new block groupsSolofo.Ramangalahy@bull.net1-0/+1
2008-10-10ext4: Remove old legacy block allocatorTheodore Ts'o1-6/+12
2008-09-08Update flex_bg free blocks and free inodes counters when resizing.Frederic Bohe1-0/+9
2008-09-08ext4: Fix whitespace checkpatch warnings/errorsTheodore Ts'o1-3/+3
2008-08-19ext4: don't try to resize if there are no reserved gdt blocks leftJosef Bacik1-1/+2
2008-07-26ext4: Cleanup whitespace and other miscellaneous style issuesTheodore Ts'o1-39/+40
2008-07-11ext4: fix online resize with mballocFrederic Bohe1-1/+51
2008-06-20Ext4: Fix online resize block group descriptor corruptionFrederic Bohe1-1/+2
2008-06-06ext4: fix online resize bugJosef Bacik1-1/+2
2008-04-29ext4: move headers out of include/linuxChristoph Hellwig1-2/+1
2008-04-29ext4: fix wrong gfp type under transactionJosef Bacik1-2/+2
2008-04-17ext4: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-35/+35
2008-04-17ext4: le*_add_cpu conversionMarcin Slusarz1-4/+2
2008-02-25ext4: add missing ext4_journal_stop()Akinobu Mita1-0/+1
2008-02-07iget: stop EXT4 from using iget() and read_inode()David Howells1-4/+3
2008-01-28ext4: fix up EXT4FS_DEBUG buildsEric Sandeen1-8/+8