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
locking-selftest-rlock.h
#undef LOCK
#define LOCK RL
#undef UNLOCK
#define UNLOCK RU
#undef RLOCK
#define RLOCK RL
#undef WLOCK
#define WLOCK WL
#undef INIT
#define INIT RWI
Computing file changes ...