diff options
author | Srivathsa Dara <srivathsa.d.dara@oracle.com> | 2024-02-27 13:13:29 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-03-07 13:32:54 -0500 |
commit | 07be778c70149321f785611a9c50125b904b0508 (patch) | |
tree | 6332837992315949870d5c21455ceeef0f9e5490 /net/unix/sysctl_net_unix.c | |
parent | 0efcd739fc07cefd5c54e202f66b4ea5def4776b (diff) |
ext4: enable meta_bg only when new desc blocks are needed
This patch addresses an issue observed when resize_inode is disabled
and an online extension of a filesysyem is performed. When a filesystem
is expanded to a size that does not require a addition of a new
descriptor block, the meta_bg feature is being enabled even though no
part of the filesystem uses this layout.
This patch ensures that the meta_bg feature is only enabled if
any of the added block groups utilize meta_bg layout.
Signed-off-by: Srivathsa Dara <srivathsa.d.dara@oracle.com>
Link: https://lore.kernel.org/r/20240227131329.2608466-1-srivathsa.d.dara@oracle.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions