Re: [LTP] [PATCH v6] lib: Use backoff polling to wait for loop device nodes

Petr Vorel <[email protected]>
Newsgroups it.linux.lists.ltp
Message-ID <20260812131927.GE1758016@pevik>
Hi all,

> d90d2004657b ("lib: Use backoff polling to wait for loop
>   device nodes")

> This patch introduces a regression in few old API based tests which
> call tst_acquire_device() -> tst_find_free_loopdev()/tst_attach_device()):

>     - linkat02
>     - mknodat02
>     - rename11
>     - renameat01
>     - umount2_01

> these fail with
> tst_kconfig.c:90: TINFO: Parsing kernel config '/proc/config.gz'
> linkat02    1  TBROK  :  tst_sig.c:232: unexpected signal SIGCHLD(17)
> received (pid = 122504).
> linkat02    2  TBROK  :  Remaining cases broken

> which comes from def_handler(int sig) in lib/tst_sig.c

> The old API treats SIGCHLD as fatal, which is now being generated while
> reading the kconfig file. So we need to address this until we convert
> these tests to new API, maybe by intentionally avoiding
> TST_RETRY_FN_EXP_BACKOFF()/tst_multiply_timeout() for now.

Avinesh, thanks for the report.

I vote to revert d90d2004657b until we convert the tests above.
Anybody objects?

If you reply ack, I can revert it later tonight/tomorrow morning (UTC timezone)
and add your ABT to the commit.

Kind regards,
Petr

> Regards,
> Avinesh

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.