From: liubaolin <liubaolin12138@163.com>
To: corbet@lwn.net, skhan@linuxfoundation.org, tytso@mit.edu,
adilger.kernel@dilger.ca, libaokun@linux.alibaba.com,
jack@suse.cz, ojaswin@linux.ibm.com, ritesh.list@gmail.com,
yi.zhang@huawei.com, liubaolin12138@163.com
Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,
Baolin Liu <liubaolin@kylinos.cn>,
liubaolin12138@163.com
Subject: Re: [PATCH v6 v6 0/3] ext4: improve mballoc statistics reporting and control
Date: Wed, 24 Jun 2026 17:59:59 +0800 [thread overview]
Message-ID: <51efbdd8-76c1-4577-b5ff-a47658c7c0b2@163.com> (raw)
In-Reply-To: <1816234d.8a1b.19ef8ff3f2e.Coremail.liubaolin12138@163.com>
Add recipient: liubaolin12138@163.com
在 2026/6/24 17:38, Baolin Liu 写道:
>
>
>
>
>
>
>
> At 2026-05-24 09:54:18, "Baolin Liu" <liubaolin12138@163.com> wrote:
>>From: Baolin Liu <liubaolin@kylinos.cn>
>>
>>This series improves mballoc statistics reporting and control by adding
>>blocks_allocated to /proc/fs/ext4/<dev>/mb_stats, using
>>READ_ONCE()/WRITE_ONCE() for concurrent accesses to s_mb_stats, and
>>allowing mballoc stats to be controlled through
>>/proc/fs/ext4/<dev>/mb_stats.
>>
>>Changes in v6:
>> - Serialize proc and sysfs updates to s_mb_stats with a mutex so that
>> clearing mb_stats through the proc control path cannot race with
>> concurrent administrative writes.
>>
>>Baolin Liu (3):
>> ext4: add blocks_allocated to mb_stats output
>> ext4: use READ_ONCE/WRITE_ONCE for s_mb_stats
>> ext4: allow controlling mballoc stats through proc mb_stats
>>
>> Documentation/ABI/testing/sysfs-fs-ext4 | 3 +-
>> Documentation/admin-guide/ext4.rst | 9 ++-
>> Documentation/filesystems/proc.rst | 13 +---
>> fs/ext4/ext4.h | 2 +
>> fs/ext4/mballoc.c | 58 ++++++++++++++----
>> fs/ext4/sysfs.c | 80 ++++++++++++++++++++++++-
>> 6 files changed, 135 insertions(+), 30 deletions(-)
>>
>>--
>>2.51.0
next prev parent reply other threads:[~2026-06-24 10:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-24 1:54 Baolin Liu
2026-05-24 1:54 ` [PATCH v6 v6 1/3] ext4: add blocks_allocated to mb_stats output Baolin Liu
2026-05-24 1:54 ` [PATCH v6 v6 2/3] ext4: use READ_ONCE/WRITE_ONCE for s_mb_stats Baolin Liu
2026-05-24 1:54 ` [PATCH v6 v6 3/3] ext4: allow controlling mballoc stats through proc mb_stats Baolin Liu
[not found] ` <1816234d.8a1b.19ef8ff3f2e.Coremail.liubaolin12138@163.com>
2026-06-24 9:52 ` [PATCH v6 v6 0/3] ext4: improve mballoc statistics reporting and control liubaolin
2026-06-24 9:59 ` liubaolin [this message]
2026-06-24 10:02 ` liubaolin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51efbdd8-76c1-4577-b5ff-a47658c7c0b2@163.com \
--to=liubaolin12138@163.com \
--cc=adilger.kernel@dilger.ca \
--cc=corbet@lwn.net \
--cc=jack@suse.cz \
--cc=libaokun@linux.alibaba.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liubaolin@kylinos.cn \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.com \
--cc=skhan@linuxfoundation.org \
--cc=tytso@mit.edu \
--cc=yi.zhang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®