Hide Forgot
Running dbench -s 42 leads to incorrect statistics for number of open files in Posix. Have seen this leading to negative values many times. stats.nr_files = -2 is what I observed in a server after running dbench -s 42 in a setup involving distribute over two nodes.
private is being updated in posix without holding any locks. Hence the bug. This needs to be fixed wherever private is being updated in posix xlator.
PATCH: http://patches.gluster.com/patch/1245 in master (storage/posix: Synchronize access to this->private.)