[PATCH v7 0/2] Fix overflow and use backoff polling for loop devices

Wake Liu via ltp <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
This is v7 of the patch series to use backoff polling to wait for loop device nodes.

Since v6, we have split the changes into two patches and optimized the overflow fix:
1. Fix potential overflow in TST_RETRY_FN_EXP_BACKOFF() and tst_multiply_timeout()
   by using 'unsigned long long' for delay tracking variables.
2. Use backoff polling for loop device nodes (original patch logic).

This addresses the feedback from the LTP AI Reviewer regarding overflow
when LTP_TIMEOUT_MUL is large.

Wake Liu (2):
  lib: Fix overflow in backoff polling and timeout multiplication
  lib: Use backoff polling to wait for loop device nodes

 include/tst_common.h |  4 +++-
 lib/tst_device.c     | 13 +++++++++----
 lib/tst_test.c       | 11 +++++++++--
 3 files changed, 21 insertions(+), 7 deletions(-)

-- 
2.55.0.654.g21b8a5bc05-goog


-- 
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.