Re: supporting overlay+tmpfs breaks check -n -overlay -g auto

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 2022/12/12 9:42, Murphy Zhou wrote:
Hi,

Bisecting points me to this commit:

commit 92fb58afaa2f38a9369ad5791a4cbf135545617d
Author: Baokun Li <libaokun1@xxxxxxxxxx>
Date:   Wed May 11 16:34:04 2022 +0800

     common: xfstests support overlay+tmpfs


It breaks this command:
./check -n -overlay -g auto

As a result, it fails to show me the list of testcases.

Please help to check.

Thanks!
Murphy

Thank you very much for reporting this issue!
I think I figured out the cause of the problem.

In the above commit, the "-t $OVL_BASE_FSTYP" command is used to
specify the overlay base mount file system type. If FSTYP is used to
specify BASE_FSTYP in config, the file system type can be identified.
However, if you use the environment variable FSTYP to specify BASE_FSTYP,
there is no corresponding logic. Sometimes, even FSTYP is not specified.
In this case, the mounting command is similar to

     "_mount -t /dev/sdb /tmp/scratch".

As a result, the preceding problem is triggered.

I will send a patch to fix the problem.
Thanks!
--
With Best Regards,
Baokun Li



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux