JFS: Avoid incrementing i_count on file create
Committing a transaction creating a file required insuring that the inode stayed in cache until the journal was written to. i_count was being incremented until the transaction was complete. However, incrementing i_count caused fcntl(S_SETLEASE) to fail. I reworked the transaction code so that the inode does not have to stay in-memory while the transaction is being committed. Thanks to Steve French for figuring out why setlease was failing.
Showing
Please register or sign in to comment