On Thu, 10 Mar 2022 11:18:32 +0100, Jan Kara wrote: > Recently I've got a report of BUG_ON trigerring during transaction > commit in ext4_journalled_writepage_callback() because we've spotted a > dirty page without buffers. Add WARN_ON_ONCE to > ext4_journalled_set_page_dirty() to catch the problematic condition > earlier where we have better chance of understanding which code path is > creating dirty data without preparing the page properly. Also update the > comment with current information when we are at it. > > [...] Applied, thanks! [1/1] ext4: Warn when dirtying page without buffers in data=journal mode commit: 2bb8dd401a4f96973d6a9de4218d7f01fbd497ee Best regards, -- Theodore Ts'o <tytso@xxxxxxx>