]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: handle U64_MAX for shrink_delalloc
authorJosef Bacik <josef@toxicpanda.com>
Tue, 21 Jul 2020 14:22:14 +0000 (10:22 -0400)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:51 +0000 (12:06 +0200)
commit34e4ac231d12f9bc4dc59a8d848853b64ab085fa
tree5102e761d85a5419a8e7f024a4c56507e0cc283b
parentb11ea1fcf25efc511ae20b955bf0f1742ae4986d
btrfs: handle U64_MAX for shrink_delalloc

Data allocations are going to want to pass in U64_MAX for flushing
space, adjust shrink_delalloc to handle this properly.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Tested-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c