[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240105092102.496631-1-shikemeng@huaweicloud.com>
Date: Fri, 5 Jan 2024 17:20:53 +0800
From: Kemeng Shi <shikemeng@...weicloud.com>
To: tytso@....edu,
adilger.kernel@...ger.ca,
jack@...e.cz,
ojaswin@...ux.ibm.com
Cc: linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/9] Some random cleanups to mballoc
This series contains some random cleanups to mballoc. No function change
is intended except patch 8 may fix a potential memleak if non-used
preallocation spaces of inode could be greater than UNIT_MAX.
More details can be found in respective patches. Thanks!
v1->v2:
-Collect RVB from Jan.
-Remove 'needed' in trace_ext4_discard_preallocations.
v2->v3:
-Collect RVB from Jan and Ojaswin.
-Fix commit message in patch 2.
Kemeng Shi (9):
ext4: remove unused return value of __mb_check_buddy
ext4: remove unused parameter ngroup in ext4_mb_choose_next_group_*()
ext4: remove unneeded return value of ext4_mb_release_context
ext4: remove unused ext4_allocation_context::ac_groups_considered
ext4: remove unused return value of ext4_mb_release
ext4: remove unused return value of ext4_mb_release_inode_pa
ext4: remove unused return value of ext4_mb_release_group_pa
ext4: remove unnecessary parameter "needed" in
ext4_discard_preallocations
ext4: remove 'needed' in trace_ext4_discard_preallocations
fs/ext4/ext4.h | 4 +--
fs/ext4/extents.c | 10 ++++----
fs/ext4/file.c | 2 +-
fs/ext4/indirect.c | 2 +-
fs/ext4/inode.c | 6 ++---
fs/ext4/ioctl.c | 2 +-
fs/ext4/mballoc.c | 49 ++++++++++++++-----------------------
fs/ext4/mballoc.h | 1 -
fs/ext4/move_extent.c | 4 +--
fs/ext4/super.c | 2 +-
include/trace/events/ext4.h | 11 +++------
11 files changed, 38 insertions(+), 55 deletions(-)
--
2.30.0
Powered by blists - more mailing lists