Eliminate Compulsory Atomic Operations for File Block Counters

Previous Topic

Next Topic

Eliminate Compulsory Atomic Operations for File Block Counters

The increment, decrement, and read of the file block counter is performed while holding a file open/close mutex, and it was found redundant to use atomic increment and decrement. The variable has been changed to a non-atomic variable and the atomic increment and decrement have been changed to non-atomic increment and decrement.