mbox series

[RFC,0/5] inode: turn i_state into u32

Message ID 20240820-work-i_state-v1-0-794360714829@kernel.org (mailing list archive)
Headers show
Series inode: turn i_state into u32 | expand

Message

Christian Brauner Aug. 20, 2024, 4:06 p.m. UTC
Hey,

I've recently looked for some free space in struct inode again because
of some exec kerfuffle we recently 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 the attempt to turn i_state from
an unsigned long into an u32 using the address of the i_state bit in the
wait var event mechanism.

This survives LTP, xfstests on various filesystems, and will-it-scale.
It's possible I got it all wrong but I want to have the RFC out.

---
---
base-commit: 01e603fb789c75b3a0c63bddd42a42a710da7a52
change-id: 20240820-work-i_state-4e34db39bcf8