Re: [PATCH] ext4: defend against inline-to-block conversion race in write completion
"Theodore Tso" <[email protected]>
| Newsgroups | org.kernel.vger.linux-ext4,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 18, 2026 at 11:42:38AM -0500, Deepanshu Kartikey wrote: > Replace BUG_ON(!ext4_has_inline_data(inode)) with defensive error handling > in ext4_write_inline_data_end(). A file can be converted from inline to block > storage by concurrent paths while a write completion is in flight. Thanks for this proposed change. It's covered, as part of Aditya Prakash Srivastava change, "ext4: use fsdata to track inline data write state and fix race"[1] which is being tested in my tree. [1] https://patch.msgid.link/[email protected] - Ted