diff options
author | Chao Yu <[email protected]> | 2015-10-05 22:20:40 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2015-10-09 16:20:56 -0700 |
commit | 3342bb303bf48dd8bb5ac94c3356489ff53e4d04 (patch) | |
tree | d5aa4f6a768a9b50a8ed3662d801a29f285be52d /lib/netdev-notifier-error-inject.c | |
parent | a43f7ec327b0d86cbb80d0841673038c0706e714 (diff) |
f2fs: skip searching dirty map if dirty segment is not exist
When searching victim during gc, if there are no dirty segments in
filesystem, we will still take the time to search the whole dirty segment
map, it's not needed, it's better to skip in this condition.
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions