]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/dmlogwrites: Extend _log_writes_init() to accept the specified length
authorXiao Yang <yangx.jy@fujitsu.com>
Mon, 14 Nov 2022 08:35:02 +0000 (08:35 +0000)
committerZorro Lang <zlang@kernel.org>
Wed, 23 Nov 2022 03:55:03 +0000 (11:55 +0800)
commitda2e198c3fa536012c2f8cb8e3741c46605ae01b
tree20713ad161353e37f134d1eaf81be17ded0815c3
parentd6deed033681643118cbeea0bc8841f2ee5327f1
common/dmlogwrites: Extend _log_writes_init() to accept the specified length

It is unnecssary to always create a dm-log-writes device
based on the entire size of the target/underlying device.

Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/dmlogwrites