diff options
| author | Jaegeuk Kim <[email protected]> | 2021-12-13 22:16:32 +0000 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2022-01-04 21:20:49 +0000 |
| commit | a9419b63bf414775e8aeee95d8c4a5e0df690748 (patch) | |
| tree | 704a3b3638bc8323c539fb8b9ea6d62bd8db7c81 /lib/string_helpers.c | |
| parent | f2fs: avoid down_write on nat_tree_lock during checkpoint (diff) | |
| download | kernel-a9419b63bf414775e8aeee95d8c4a5e0df690748.tar.gz kernel-a9419b63bf414775e8aeee95d8c4a5e0df690748.zip | |
f2fs: do not bother checkpoint by f2fs_get_node_info
This patch tries to mitigate lock contention between f2fs_write_checkpoint and
f2fs_get_node_info along with nat_tree_lock.
The idea is, if checkpoint is currently running, other threads that try to grab
nat_tree_lock would be better to wait for checkpoint.
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
