Revision da977b2c7eb4d6312f063a7b486f2aad99809710 authored by Eric Van Hensbergen on 26 January 2007, 08:57:06 UTC, committed by Linus Torvalds on 26 January 2007, 21:51:00 UTC
Running dbench multithreaded exposed a race condition where fid structures
were removed while in use.  This patch adds semaphores to meta-data operations
to protect the fid structure.  Some cleanup of error-case handling in the
inode operations is also included.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ff76e1d
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 16.9 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.8 KB
msg.c -rw-r--r-- 20.5 KB
msgutil.c -rw-r--r-- 2.3 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 23.8 KB
util.c -rw-r--r-- 19.0 KB
util.h -rw-r--r-- 3.3 KB

back to top