Fix overflow and use backoff polling for loop devices
Get series with b4
b4 am [email protected]Versions newest first
- v7 Latest2 patches 4 repliesIn review
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: Fix overflow in backoff polling and timeout multiplicationinclude/ lib/ | +12 | 3 replies | |
| 2/2 | lib: Use backoff polling to wait for loop device nodeslib/ | +9 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrea Cervesato |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH v7 0/2] Fix overflow and use backoff polling for loop devices
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(-)
Signature · 5 lines
2.55.0.654.g21b8a5bc05-goog -- Mailing list info: https://lists.linux.it/listinfo/ltp