diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-09-07 20:22:22 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-30 14:27:59 +0300 |
commit | 736cd52e0c720103f52ab9da47b6cc3af6b083f6 (patch) | |
tree | b9918e4c713f73d43d6d702d48099ce241e41829 /fs/btrfs/tree-checker.c | |
parent | 80e03a2c512bd78858c130d6fe3b11982a61c0c5 (diff) | |
download | linux-736cd52e0c720103f52ab9da47b6cc3af6b083f6.tar.xz |
Btrfs: remove nr_async_submits and async_submit_draining
Now that we have the combo of flushing twice, which can make sure IO
have started since the second flush will wait for page lock which
won't be unlocked unless setting page writeback and queuing ordered
extents, we don't need %async_submit_draining, %async_delalloc_pages
and %nr_async_submits to tell whether the IO has actually started.
Moreover, all the flushers in use are followed by functions that wait
for ordered extents to complete, so %nr_async_submits, which tracks
whether bio's async submit has made progress, doesn't really make
sense.
However, %async_delalloc_pages is still required by shrink_delalloc()
as that function doesn't flush twice in the normal case (just issues a
writeback with WB_REASON_FS_FREE_SPACE).
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions