diff options
author | Liu Bo <[email protected]> | 2018-09-12 06:06:22 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-10-15 17:23:31 +0200 |
commit | 4183c52ce8871544ea94054ee47c685ecae714f6 (patch) | |
tree | eaf4b9b6dbe4d2400fe5dd8329ae9d3f2d88ea30 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | abb57ef3ff9720c42bbc06bcd1788da9ce1a3eb8 (diff) |
Btrfs: remove wait_ordered_range in btrfs_evict_inode
When we delete an inode,
btrfs_evict_inode() {
truncate_inode_pages_final()
truncate_inode_pages_range()
lock_page()
truncate_cleanup_page()
btrfs_invalidatepage()
wait_on_page_writeback
btrfs_lookup_ordered_range()
cancel_dirty_page()
unlock_page()
...
btrfs_wait_ordered_range()
...
As VFS has called ->invalidatepage() to get all ordered extents done (if
there are any) and truncated all page cache pages (no dirty pages to
writeback after this step), wait_ordered_range() is just a noop.
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions