Skip to contentSkip to conversation

generic/732: don't run it on tmpfs

PATCH In review Yang Erkun 2 participants 3 messages Jul 20, 2024 – Jul 24, 2024 Memory management

lore
Share & tools
lore

Yang Erkun

author
#0 lore raw

PATCH 1/1 generic/732: don't run it on tmpfs

Like what 4fd042e0465c("generic/732: don't run it on NFS") say, the same options for tmpfs won't share the same backend. Skip it for tmpfs.

---
 tests/generic/732 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/732 +1 -1
index 7a40f49b..2b83f216 100755
@@ -22,7 +22,7 @@ _cleanup()
 }
 
 # real QA test starts here
-_supported_fs ^nfs ^overlay
+_supported_fs ^nfs ^overlay ^tmpfs
 
 _require_test
 _require_scratch
Signature · 1 line
2.39.2
#1 lore raw

tests/generic/732 _cleanup() · line 25

Quoted 6 lines · Yang Erkun

Like what 4fd042e0465c("generic/732: don't run it on NFS") say, the same options for tmpfs won't share the same backend. Skip it for tmpfs.

 # real QA test starts here
tests/generic/732 +1 -1
-_supported_fs ^nfs ^overlay
+_supported_fs ^nfs ^overlay ^tmpfs

Can you please spell out the explanation here?

We should not have a _supported_fs call without a comment explaining it.

author
#2 lore raw

Hi,

Sorry for the delay relay(something happened, and cannot use pc before...).

Quoted 4 lines · Christoph Hellwig
Quoted 3 lines · Yang Erkun

Like what 4fd042e0465c("generic/732: don't run it on NFS") say, the same options for tmpfs won't share the same backend. Skip it for tmpfs.

Quoted 9 lines

tests/generic/732 _cleanup() · line 25

Quoted 3 lines
  # real QA test starts here
tests/generic/732 +1 -1
-_supported_fs ^nfs ^overlay
+_supported_fs ^nfs ^overlay ^tmpfs

Can you please spell out the explanation here?

We should not have a _supported_fs call without a comment explaining it.

Yeah! Thanks for your reminder, will do it with v2(maybe until last week I can do it).