diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-12-04 08:15:10 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-12-04 08:23:29 +0300 |
commit | 8b26ef98da3387eb57a8a5c1747c6e628948ee0c (patch) | |
tree | 3a36e9ee3b1483c049a91e32f7eda6e54f71e0fc /fs/f2fs/segment.c | |
parent | 4634d71ed190c99e42ebee450f9a6897d20ee22c (diff) | |
download | linux-8b26ef98da3387eb57a8a5c1747c6e628948ee0c.tar.xz |
f2fs: use rw_semaphore for nat entry lock
Previoulsy, we used rwlock for nat_entry lock.
But, now we have a lot of complex operations in set_node_addr.
(e.g., allocating kernel memories, handling radix_trees, and so on)
So, this patches tries to change spinlock to rw_semaphore to give CPUs to other
threads.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions