mirror of
https://git.proxmox.com/git/pve-storage.git
synced 2026-07-12 00:22:43 +00:00
No description
The status=progress output of dd drives a terminal cursor, writing a carriage return followed by an updated status line every second. Without an errfunc, run_command passes stderr through unprocessed, and inside a worker stderr is the task log file, so the progress history of a whole transfer ends up embedded in a single log line. Task log viewers then render that as one extremely long line that needs excessive horizontal scrolling; reported with the task viewer of the Proxmox Datacenter Manager for a cross-remote disk move. Capture stderr with an errfunc to let run_command split the progress output at carriage returns, logging each update as its own line. This matches how command output is handled in other transfer paths already, for example SSH-based storage migration, where the logfunc of the receiving run_command does this splitting. Reported-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
|---|---|---|
| debian | ||
| src | ||
| .gitignore | ||
| ApiChangeLog | ||
| Makefile | ||