common/dmthin: make this work with external log devices
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 Apr 2021 00:22:31 +0000 (17:22 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 25 Apr 2021 05:17:01 +0000 (13:17 +0800)
commitbec48842284ea28843ae45f17fcd8c54df878d81
tree3ce9bae65afbbdb25273eb1e2068c4bb307029a9
parent982941cf89f5bc51581459fd3467a6cbdc54999d
common/dmthin: make this work with external log devices

Provide a mkfs helper to format the dm thin device when external devices
are in use, and fix the dmthin mount helper to support them.  This fixes
regressions in generic/347 and generic/500 when external logs are in
use.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/dmthin
tests/generic/347
tests/generic/500