3

I just read about the "inline data" feature in EXT4, and more specifically about that answer on how to enable it.

What are the reasons why this feature isn't enabled by default in EXT4 ? I guess it's to keep the FS compatible with older kernels, that didn't support this feature yet. Are there other reasons ?

If I know that I'll never use an older kernel, is there any reason NOT to always enable this feature when formatting a partition with EXT4 ?

ChennyStar
  • 1,743

1 Answers1

1

Answering my own question, basically just developing Stéphane Chazelas' comment :

As Theodore Ts'o (maintainer of ext4) explained in an e-mail dating back to 2019:

There are some known issues with with the inline_data feature (...).

(...)

But yeah, there is a good reason why it's not a default-enabled feature. It also generally doesn't buy you much for most file system workloads, so it hasn't been high on my priority list to fix.

So it's probably best no to enable that feature for now, unless absolutely needed.

Stephen Kitt
  • 434,908
ChennyStar
  • 1,743
  • There have been quite a few fixes since 2019, including to inline data, but I haven’t seen any more recent update on the actual situation of inline data support. – Stephen Kitt Feb 09 '24 at 14:10