]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge patch series "fs: add i_state helpers"
authorChristian Brauner <brauner@kernel.org>
Mon, 26 Aug 2024 12:19:53 +0000 (14:19 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 06:22:40 +0000 (08:22 +0200)
commit41b734352c1314807e2eea610023a9d9a340070f
tree97146b25c5e92523ca723bf81de3dd5a8a2d91df
parent88b1afbf0f6b221f6c5bb66cc80cd3b38d696687
parent2b111edbe0a9c441605be5cfb73001dc98ec686f
Merge patch series "fs: add i_state helpers"

Christian Brauner <brauner@kernel.org> says:

I've recently looked for some free space in struct inode again because
of some exec kerfuffle we had and while my idea didn't turn into
anything I noticed that we often waste bytes when using wait bit
operations. So I set out to switch that to another mechanism that would
allow us to free up bytes. So this is an attempt to turn i_state from an
unsigned long into an u32 using the individual bytes of i_state as
addresses for the wait var event mechanism (Thanks to Linus for that idea.).

This survives LTP, xfstests on various filesystems, and will-it-scale.

* patches from https://lore.kernel.org/r/20240823-work-i_state-v3-1-5cd5fd207a57@kernel.org:
  inode: make i_state a u32
  inode: port __I_LRU_ISOLATING to var event
  inode: port __I_NEW to var event
  inode: port __I_SYNC to var event
  fs: reorder i_state bits
  fs: add i_state helpers

Link: https://lore.kernel.org/r/20240823-work-i_state-v3-1-5cd5fd207a57@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>