]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/dmlogwrites: genericize log writes target device
authorBrian Foster <bfoster@redhat.com>
Thu, 28 Feb 2019 14:41:27 +0000 (09:41 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sat, 2 Mar 2019 11:39:00 +0000 (19:39 +0800)
commitde928c8e880e62ceb7e4d4b6047213bd0048945c
tree36f09afc09c7f225a663a20f1dba957a5a14a8ee
parent19e8b1f1a9d8c5d2dc47b664b7bdb5213c6b7150
common/dmlogwrites: genericize log writes target device

The dm-log-writes infrastructure is currently implemented to use
SCRATCH_DEV as a hardcoded data device. In preparation to allow use
of specialized devices in certain circumstances, genericize the code
to allow an arbitrary data device. This requires passing the target
device as a parameter to several helper functions from various
tests. No functional changes.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/dmlogwrites
tests/generic/455
tests/generic/457
tests/generic/470
tests/generic/482