[LU-632] llog_reader loops forever on an empty file Created: 24/Aug/11 Updated: 23/Jun/16 Resolved: 02/Oct/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Brian Murrell (Inactive) | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9790 | ||||
| Description |
|
If you give llog_reader an empty file to try to read it will loop until interrupted with the following: Bit 0 of 135136 not set It should, at most, print one iteration and exit. But perhaps an empty file should simply mean that llog_reader prints nothing. |
| Comments |
| Comment by Build Master (Inactive) [ 24/Aug/11 ] |
|
Integrated in Brian J. Murrell :
|
| Comment by Build Master (Inactive) [ 24/Aug/11 ] |
|
Integrated in Brian J. Murrell :
|
| Comment by Build Master (Inactive) [ 05/Apr/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Li Xi (Inactive) [ 20/Jun/14 ] |
|
I pushed patch here which not only fixes this problem but also fixes the segmentation fault problem when the llog file is corrupt. |
| Comment by Gerrit Updater [ 06/Apr/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10764/ |
| Comment by Frank Zago (Inactive) [ 31/Jul/15 ] |
|
This issue appears resolved. |
| Comment by Andreas Dilger [ 22/Dec/15 ] |
|
See also http://review.whamcloud.com/17627 which fixes the case of the llog file being small but non-zero sized. |