[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
This patch converts the inode semaphore to a mutex. I have tested it on XFS and compiled as much as one can consider on an ia64. Anyway your luck with it might be different. Modified-by: Ingo Molnar <mingo@elte.hu> (finished the conversion) Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:

committed by
Ingo Molnar

parent
794ee1baee
commit
1b1dcc1b57
@@ -1857,7 +1857,7 @@ void padd_item(char *item, int total_length, int length);
|
||||
#define GET_BLOCK_CREATE 1 /* add anything you need to find block */
|
||||
#define GET_BLOCK_NO_HOLE 2 /* return -ENOENT for file holes */
|
||||
#define GET_BLOCK_READ_DIRECT 4 /* read the tail if indirect item not found */
|
||||
#define GET_BLOCK_NO_ISEM 8 /* i_sem is not held, don't preallocate */
|
||||
#define GET_BLOCK_NO_IMUX 8 /* i_mutex is not held, don't preallocate */
|
||||
#define GET_BLOCK_NO_DANGLE 16 /* don't leave any transactions running */
|
||||
|
||||
int restart_transaction(struct reiserfs_transaction_handle *th,
|
||||
|
Reference in New Issue
Block a user