diff options
author | 2008-01-28 23:58:26 -0500 | |
---|---|---|
committer | 2008-01-28 23:58:26 -0500 | |
commit | 0e855ac8b103ef579052936b59fe7c599ac422a4 (patch) | |
tree | ec29f82e1d7bb1987dcadc00497daf69d6955483 /fs/jbd2/commit.c | |
parent | ext4: Make ext4_get_blocks_wrap take the truncate_mutex early. (diff) | |
download | wireguard-linux-0e855ac8b103ef579052936b59fe7c599ac422a4.tar.xz wireguard-linux-0e855ac8b103ef579052936b59fe7c599ac422a4.zip |
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 <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions