• J
    f2fs: use rw_semaphore for nat entry lock · 8b26ef98
    Jaegeuk Kim 提交于
    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: NJaegeuk Kim <jaegeuk@kernel.org>
    8b26ef98
f2fs.h 49.1 KB