git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c278bfe
)
ext4: Convert truncate_mutex to read write semaphore.
author
Aneesh Kumar K.V
<aneesh.kumar@linux.vnet.ibm.com>
Tue, 29 Jan 2008 04:58:26 +0000
(23:58 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 29 Jan 2008 04:58:26 +0000
(23:58 -0500)
We are currently taking the truncate_mutex for every read. This would have
performance impact on large CPU configuration. Convert the lock to read write
semaphore and take read lock when we are trying to read the file.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
No differences found