summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-11-04 12:45:53 +0300
committerDavid Sterba <dsterba@suse.com>2020-12-08 17:54:05 +0300
commitdf903e5d294f62e07280566e0afe9403a92879f0 (patch)
tree83f7e6680135e2de402852ee7a48d260726bc7ad /Documentation/dev-tools
parent6e88f116bd4cf34406fc70a6d6bf5b4d49e1ab2d (diff)
downloadlinux-df903e5d294f62e07280566e0afe9403a92879f0.tar.xz
btrfs: don't miss async discards after scheduled work override
If btrfs_discard_schedule_work() is called with override=true, it sets delay anew regardless how much time is left until the timer should have fired. If delays are long (that can happen, for example, with low kbps_limit), they might get constantly overridden without having a chance to run the discard work. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions