diff options
author | Jan Kara <[email protected]> | 2017-06-22 23:49:46 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2017-06-22 23:49:46 -0400 |
commit | 3abb1a0fc2871f2db52199e1748a1d48a54a3427 (patch) | |
tree | 3c4d5c8e9120fe92c37f60449553055d8531ca6c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cdb7ee4c632759075866bb8da5fb16b764e66ded (diff) |
ext4: avoid unnecessary stalls in ext4_evict_inode()
These days inode reclaim calls evict_inode() only when it has no pages
in the mapping. In that case it is not necessary to wait for transaction
commit in ext4_evict_inode() as there can be no pages waiting to be
committed. So avoid unnecessary transaction waiting in that case.
We still have to keep the check for the case where ext4_evict_inode()
gets called from other paths (e.g. umount) where inode still can have
some page cache pages.
Reported-by: Johannes Weiner <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions