public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/20] Some bugfix and cleanup to mballoc
@ 2023-02-28 11:42 Kemeng Shi
  2023-02-28 11:42 ` [PATCH v2 01/20] ext4: set goal start correctly in ext4_mb_normalize_request Kemeng Shi
                   ` (20 more replies)
  0 siblings, 21 replies; 24+ messages in thread
From: Kemeng Shi @ 2023-02-28 11:42 UTC (permalink / raw)
  To: tytso, adilger.kernel, jack, ojaswin, ritesh.list
  Cc: linux-ext4, linux-kernel, shikemeng

Hi, this series contain some random cleanup patches and some bugfix
patches to make EXT4_MB_HINT_GOAL_ONLY work properly, protect pa->pa_free
from race and so on. More details can be found in git log.
Thanks!

---
V2:
-Add signed-off from Ritesh and Ojaswin to patch 3/20 "ext4: get correct
ext4_group_info in ext4_mb_prefetch_fini" as this is a duplicate of
a patch under reviewing.
-Split out original patch "ext4: avoid to use preallocated blocks if
EXT4_MB_HINT_GOAL_ONLY is set" which will be resend after improved.
-Improve log information of patch 20.
-Collect Reviewed-by from Ojaswin and Ritesh. Now only patch 3, 12 and
20 need futher review.
---

Kemeng Shi (20):
  ext4: set goal start correctly in ext4_mb_normalize_request
  ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
  ext4: get correct ext4_group_info in ext4_mb_prefetch_fini
  ext4: correct calculation of s_mb_preallocated
  ext4: correct start of used group pa for debug in ext4_mb_use_group_pa
  ext4: protect pa->pa_free in ext4_discard_allocated_blocks
  ext4: add missed brelse in ext4_free_blocks_simple
  ext4: remove unused return value of ext4_mb_try_best_found and
    ext4_mb_free_metadata
  ext4: Remove unnecessary release when memory allocation failed in
    ext4_mb_init_cache
  ext4: remove unnecessary e4b->bd_buddy_page check in
    ext4_mb_load_buddy_gfp
  ext4: remove unnecessary check in ext4_mb_new_blocks
  ext4: remove dead check in mb_buddy_mark_free
  ext4: remove ac->ac_found > sbi->s_mb_min_to_scan dead check in
    ext4_mb_check_limits
  ext4: use best found when complex scan of group finishs
  ext4: remove unnecessary exit_meta_group_info tag
  ext4: remove unnecessary count2 in ext4_free_data_in_buddy
  ext4: remove unnecessary goto in ext4_mb_mark_diskspace_used
  ext4: remove repeat assignment to ac_f_ex
  ext4: remove comment code ext4_discard_preallocations
  ext4: simplify calculation of blkoff in ext4_mb_new_blocks_simple

 fs/ext4/mballoc.c | 104 +++++++++++++++++-----------------------------
 1 file changed, 38 insertions(+), 66 deletions(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-03-01  1:28 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-28 11:42 [PATCH v2 00/20] Some bugfix and cleanup to mballoc Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 01/20] ext4: set goal start correctly in ext4_mb_normalize_request Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 02/20] ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 03/20] ext4: get correct ext4_group_info in ext4_mb_prefetch_fini Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 04/20] ext4: correct calculation of s_mb_preallocated Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 05/20] ext4: correct start of used group pa for debug in ext4_mb_use_group_pa Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 06/20] ext4: protect pa->pa_free in ext4_discard_allocated_blocks Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 07/20] ext4: add missed brelse in ext4_free_blocks_simple Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 08/20] ext4: remove unused return value of ext4_mb_try_best_found and ext4_mb_free_metadata Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 09/20] ext4: Remove unnecessary release when memory allocation failed in ext4_mb_init_cache Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 10/20] ext4: remove unnecessary e4b->bd_buddy_page check in ext4_mb_load_buddy_gfp Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 11/20] ext4: remove unnecessary check in ext4_mb_new_blocks Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 12/20] ext4: remove dead check in mb_buddy_mark_free Kemeng Shi
2023-02-28 11:42 ` [PATCH v2 13/20] ext4: remove ac->ac_found > sbi->s_mb_min_to_scan dead check in ext4_mb_check_limits Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 14/20] ext4: use best found when complex scan of group finishs Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 15/20] ext4: remove unnecessary exit_meta_group_info tag Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 16/20] ext4: remove unnecessary count2 in ext4_free_data_in_buddy Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 17/20] ext4: remove unnecessary goto in ext4_mb_mark_diskspace_used Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 18/20] ext4: remove repeat assignment to ac_f_ex Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 19/20] ext4: remove comment code ext4_discard_preallocations Kemeng Shi
2023-02-28 11:43 ` [PATCH v2 20/20] ext4: simplify calculation of blkoff in ext4_mb_new_blocks_simple Kemeng Shi
2023-02-28 16:34 ` [PATCH v2 00/20] Some bugfix and cleanup to mballoc Ritesh Harjani
2023-02-28 22:30   ` Theodore Ts'o
2023-03-01  1:28     ` Kemeng Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox