linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2020-09-11  2:16 Murphy Zhou
  0 siblings, 0 replies; only message in thread
From: Murphy Zhou @ 2020-09-11  2:16 UTC (permalink / raw)
  To: Amir Goldstein, fstests
  Cc: Murphy Zhou, Chengguang Xu, Miklos Szeredi, overlayfs

Bcc:
Subject: [PATCH v2] overlay/073: test with nfs_export being off
Reply-To:
In-Reply-To: <CAOQ4uxh+ppPMOSeAZU3sdwxwb_ixMHEpHLF9ZO_MTiedNJRgsw@mail.gmail.com>

When nfs_export is enabled, the link count of upper dir
objects are more then the expected number in this testcase.
Because extra index entries are linked to upper inodes.

Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com>
---
v2: Add comment about why we need it

Thanks Amir!

 tests/overlay/073 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/overlay/073 b/tests/overlay/073
index 37860c92..c5deccc6 100755
--- a/tests/overlay/073
+++ b/tests/overlay/073
@@ -99,7 +99,9 @@ run_test_case()
 {
 	_scratch_mkfs
 	make_lower_files ${1}
-	_scratch_mount -o "index=on"
+	# There will be extra hard links with nfs_export enabled which
+	# is expected. Turn it off explicitly to avoid the false alarm.
+	_scratch_mount -o "index=on,nfs_export=off"
 	make_whiteout_files
 	check_whiteout_files ${1} ${2}
 	_scratch_unmount
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-11  2:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  2:16 Murphy Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).