common/xfs: refactor commands to select a particular xfs backing device
authorDarrick J. Wong <djwong@kernel.org>
Wed, 19 May 2021 23:56:46 +0000 (16:56 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 23 May 2021 13:31:14 +0000 (21:31 +0800)
commit8d54e50288501b4e98c667fca3bdaa7a3e962bf8
tree29535bdc5d5249b65b805f58f555afd3258e5c0d
parent82901113bc7292a2ab56b6627f3169190a8b75a0
common/xfs: refactor commands to select a particular xfs backing device

Refactor all the places where we try to force new file data allocations
to a specific xfs backing device so that we don't end up open-coding the
same xfs_io command lines over and over.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
15 files changed:
common/populate
common/xfs
tests/generic/223
tests/generic/449
tests/xfs/004
tests/xfs/146
tests/xfs/147
tests/xfs/272
tests/xfs/318
tests/xfs/431
tests/xfs/521
tests/xfs/528
tests/xfs/532
tests/xfs/533
tests/xfs/538