From: Aneesh Kumar K.V Date: Tue, 29 Jan 2008 04:58:26 +0000 (-0500) Subject: ext4: Convert truncate_mutex to read write semaphore. X-Git-Tag: v2.6.25-rc1~1166^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e855ac8b103ef579052936b59fe7c599ac422a4;p=pandora-kernel.git ext4: Convert truncate_mutex to read write semaphore. 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 --- Reading git-diff-tree failed