aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-08-28 11:12:47 -0400
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:18 +0200
commit2341ccd1bf05b3d844c10ad224cd38b06fd53219 (patch)
tree989fc2ce8421ce2d9eb4fc183556c256220309b8 /net
parent18fa2284aac3f1071f51a897dc5585178cae458f (diff)
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')
0 files changed, 0 insertions, 0 deletions