[LU-9085] Fix "Using a hash as a reference is deprecated" in llstat Created: 08/Feb/17 Updated: 26/Mar/17 Resolved: 26/Mar/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Emoly Liu | Assignee: | Emoly Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
The customer reported the following issue in SFW-18: [root@mt2-oss2 ~]# llstat -i 5 home-OST0001 Using a hash as a reference is deprecated at /usr/bin/llstat line 58. Using a hash as a reference is deprecated at /usr/bin/llstat line 85. Using a hash as a reference is deprecated at /usr/bin/llstat line 121. Using a hash as a reference is deprecated at /usr/bin/llstat line 122. /usr/bin/llstat: STATS on 02/01/17 /proc/fs/lustre/obdfilter/home-OST0001/stats on 10.55.150.13@o2ib snapshot_time 1485997519.917824 read_bytes 78435913 write_bytes 81111225 setattr 71805 punch 64 sync 195530 destroy 272792 create 2295 statfs 285218 get_info 4 quotactl 16 set_info_async 1 connect 220 disconnect 133 Illegal division by zero at /usr/bin/llstat line 80, <STATS> line 15. I will create a patch to fix that. |
| Comments |
| Comment by Gerrit Updater [ 08/Feb/17 ] |
|
Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/25320 |
| Comment by Gerrit Updater [ 26/Mar/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25320/ |
| Comment by Peter Jones [ 26/Mar/17 ] |
|
Landed for 2.10 |