[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176340680646.138575.18168327924359030421.b4-ty@mit.edu>
Date: Mon, 17 Nov 2025 14:13:36 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Alexey Nepomnyashih <sdl@...ct.ru>
Cc: "Theodore Ts'o" <tytso@....edu>, Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, stable@...r.kernel.org
Subject: Re: [PATCH RFC] ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()
On Tue, 04 Nov 2025 09:33:25 +0000, Alexey Nepomnyashih wrote:
> Fix a race between inline data destruction and block mapping.
>
> The function ext4_destroy_inline_data_nolock() changes the inode data
> layout by clearing EXT4_INODE_INLINE_DATA and setting EXT4_INODE_EXTENTS.
> At the same time, another thread may execute ext4_map_blocks(), which
> tests EXT4_INODE_EXTENTS to decide whether to call ext4_ext_map_blocks()
> or ext4_ind_map_blocks().
>
> [...]
Applied, thanks!
[1/1] ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()
commit: 103ce01cd045197461d654f62f1a30cabedbcad4
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists