]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/027: make use of new device get and put helper functions
authorAnand Jain <anand.jain@oracle.com>
Tue, 17 May 2016 14:32:07 +0000 (22:32 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 1 Jul 2016 15:12:49 +0000 (23:12 +0800)
commita1747a7db0ad91c3b99ee1b791ef5c00aea2504a
tree07edb0f4aca843d706f3851ce2d65325e0b5e193
parent030c355ea095cb72d936de4493d2ce96050ac08c
btrfs/027: make use of new device get and put helper functions

Below patches added helper function to get the requested
number of devices for scratch and spare device

btrfs: add functions to get and put a device for replace target
btrfs: add functions to set and reset required number of SCRATCH_DEV_POOL

This patch makes use of them.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/027