diff options
| author | Wanpeng Li <[email protected]> | 2015-03-09 11:00:55 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2015-04-10 15:08:39 -0700 |
| commit | 57ed1e95babbd2df33f70eb820c7a9984199557b (patch) | |
| tree | 3d277b6e2f932be5bca5ab8735b7ae60ebf28e13 /tools/perf/scripts/python | |
| parent | e0150392ddfaaf5ccf338893f6db177a2c64a7ee (diff) | |
f2fs: fix unlocked nat set cache operation
nm_i->nat_tree_lock is used to sync both the operations of nat entry
cache tree and nat set cache tree, however, it isn't held when flush
nat entries during checkpoint which lead to potential race, this patch
fix it by holding the lock when gang lookup nat set cache and delete
item from nat set cache.
Signed-off-by: Wanpeng Li <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions