Thread (16 messages) 16 messages, 3 authors, 2021-05-19

Re: [PATCH 2/8] common/xfs: refactor commands to select a particular xfs backing device

From: "Darrick J. Wong" <djwong@kernel.org>
Date: 2021-05-19 20:46:56
Also in: fstests

On Wed, May 19, 2021 at 11:03:24AM +0800, Eryu Guan wrote:
On Sun, May 16, 2021 at 01:34:37PM -0700, Darrick J. Wong wrote:
quoted
On Sun, May 16, 2021 at 11:49:55PM +0800, Eryu Guan wrote:
quoted
On Tue, May 11, 2021 at 07:01:51PM -0700, Darrick J. Wong wrote:
quoted
From: Darrick J. Wong <djwong@kernel.org>

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>
---
 common/populate   |    2 +-
 common/xfs        |   25 +++++++++++++++++++++++++
 tests/generic/223 |    3 ++-
 tests/generic/449 |    2 +-
 tests/xfs/004     |    2 +-
quoted
 tests/xfs/088     |    1 +
 tests/xfs/089     |    1 +
 tests/xfs/091     |    1 +
 tests/xfs/120     |    1 +
 tests/xfs/130     |    1 +
I think above updates should be in a separate patch.
Why?
This patch is refactoring open-coded command into a helper, which should
not change the logic. But above changes are adding new users of this
helper and change test behavior. So I think they should be in a separate
patch for review.
Oh, ok.  Will do then.

--D
Thanks,
Eryu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help