[LU-8997] lustre-rsync log improvements Created: 10/Jan/17 Updated: 10/Jan/17 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
When lustre-rsync is started in the resume mode 'lustre-rsync -l LOG ...' we need to report errors from lr_read_log(). lr_backup_log() should create a hard link to the existing log. lr_write_log() should create the new log as a temporary file and rename() it onto the (existing) log only if the new log was written successfully. |