diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-08-28 18:12:47 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 15:59:18 +0300 |
commit | 2341ccd1bf05b3d844c10ad224cd38b06fd53219 (patch) | |
tree | 989fc2ce8421ce2d9eb4fc183556c256220309b8 /net/ipv4/tcp.c | |
parent | 18fa2284aac3f1071f51a897dc5585178cae458f (diff) | |
download | linux-2341ccd1bf05b3d844c10ad224cd38b06fd53219.tar.xz |
btrfs: rework wake_all_tickets
Now that we no longer partially fill tickets we need to rework
wake_all_tickets to call btrfs_try_to_wakeup_tickets() in order to see
if any subsequent tickets are able to be satisfied. If our tickets_id
changes we know something happened and we can keep flushing.
Also if we find a ticket that is smaller than the first ticket in our
queue then we want to retry the flushing loop again in case
may_commit_transaction() decides we could satisfy the ticket by
committing the transaction.
Rename this to maybe_fail_all_tickets() while we're at it, to better
reflect what the function is actually doing.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions