btrfs: factor out reada loop in __reada_start_machine
authorNikolay Borisov <nborisov@suse.com>
Wed, 15 Jul 2020 10:48:46 +0000 (13:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:57 +0000 (12:06 +0200)
commitdc0ab488d2cb514e08276cbbc846b2ebb6056c2a
treec310d59fb5fb1e090f01d5318d5d5bce4f53c1ce
parent1028d1c48b95c37336bed24a1dc1594e70aa67c6
btrfs: factor out reada loop in __reada_start_machine

This is in preparation for moving fs_devices to proper lists.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/reada.c