]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
ceph/001: skip metrics check if no copyfrom mount option is used
authorLuís Henriques <lhenriques@suse.de>
Tue, 24 May 2022 09:42:56 +0000 (10:42 +0100)
committerZorro Lang <zlang@kernel.org>
Tue, 24 May 2022 16:44:02 +0000 (00:44 +0800)
commite57024a3058801af69660cae2028972690554b3f
tree897c587b9536991da1b763f7dd6e2320a13b63a1
parent4fb72cffd9e3251149d9fa25daa96b2e26b62eab
ceph/001: skip metrics check if no copyfrom mount option is used

Checking the metrics is only valid if 'copyfrom' mount option is
explicitly set, otherwise the kernel won't be doing any remote object
copies.  Fix the logic to skip this metrics checking if 'copyfrom' isn't
used.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ceph/001