You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fstests_watchdog: optimize SSH usage to avoid unnecessary calls
Only use SSH to get boot time when we actually need to convert
kernel timestamps (lines with [timestamp] format). This avoids
unnecessary SSH calls when:
1. Linux version is found and we're processing from that point
2. The log lines don't have kernel timestamps that need conversion
This significantly improves performance by avoiding SSH roundtrips
when they're not needed, while still maintaining the functionality
for timestamp conversion when required.
The SSH fallback for kernel version detection (in fstests_watchdog.py)
remains unchanged and only triggers when the journal doesn't have
the Linux version line.
Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
0 commit comments