[LU-7339] ptlrpc_cleanup_imp() prints messy target name Created: 26/Oct/15 Updated: 25/Aug/20 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jinshan Xiong (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
On the OST log, I saw the message log: 1445851754.21924:00000100:00080000:19.0:1445851754.435024:0:21924:0:(import.c:1542:ptlrpc_cleanup_imp()) ffff882d7a02d800 P{/???P??<???: changing import state from FULL to CLOSED
ptlrpc_cleanup_imp() invokes IMPORT_SET_STATE_NOLOCK() and then invokes obd2cli_tgt() to get the name of target. obd2cli_tgt() assumes that the obd device is a client obd, which is not true, because it can be called against reverse import in server_disconnect_export(). |
| Comments |
| Comment by Andreas Dilger [ 25/Aug/20 ] |
|
This could probably just use "imp->imp_obd->obd_name" to identify the import? |