]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: show the default enabled prefetch_block_bitmaps option
authorBaokun Li <libaokun1@huawei.com>
Tue, 8 Oct 2024 12:01:34 +0000 (20:01 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Nov 2024 04:49:51 +0000 (23:49 -0500)
commitfdfa648ab9393de8c1be21cad17c17bdced3a68a
tree2f30fd3cc9c05495628a619d7215dc217a514e5e
parent76486b104168ae59703190566e372badf433314b
ext4: show the default enabled prefetch_block_bitmaps option

After commit 21175ca434c5 ("ext4: make prefetch_block_bitmaps default"),
we enable 'prefetch_block_bitmaps' by default, but this is not shown in
the '/proc/fs/ext4/sdx/options' procfs interface.

This makes it impossible to distinguish whether the feature is enabled by
default or not, so 'prefetch_block_bitmaps' is shown in the 'options'
procfs interface when prefetch_block_bitmaps is enabled by default.

This makes it easy to notice changes to the default mount options between
versions through the '/proc/fs/ext4/sdx/options' procfs interface.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20241008120134.3758097-1-libaokun@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c