On Fri, Aug 23, 2024 at 02:47:34PM +0200, Christian Brauner wrote: > Hey, > > This is v3. I changed to manual barriers as requested and commented > them. > > --- > > 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 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. > > To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > Cc: NeilBrown <neilb@xxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Ingo Molnar <mingo@xxxxxxxxxx> > Cc: Jeff Layton <jlayton@xxxxxxxxxx> > Cc: Jan Kara <jack@xxxxxxx> > Cc: Christian Brauner <brauner@xxxxxxxxxx> > Cc: linux-fsdevel@xxxxxxxxxxxxxxx > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef