[LU-464] Test failure on test suite obdfilter-survey Created: 27/Jun/11 Updated: 20/Jan/18 Resolved: 15/Jul/11 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.1.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Maloo | Assignee: | Jinshan Xiong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 4953 |
| Description |
|
This issue was created by maloo for sarah <sarah@whamcloud.com> This issue relates to the following test suite run: https://maloo.whamcloud.com/test_sets/261d7db2-a032-11e0-aee5-52540025f9af. |
| Comments |
| Comment by Sarah Liu [ 27/Jun/11 ] |
|
18:56:19:Lustre: DEBUG MARKER: == obdfilter-survey test 2a: Stripe F/S over the Network ============================================= 11:56:18 (1309114578) |
| Comment by Peter Jones [ 08/Jul/11 ] |
|
Lai will look at this one |
| Comment by Lai Siyao [ 11/Jul/11 ] |
|
19:27:35:LustreError: 7354:0:(ldlm_lib.c:499:client_disconnect_export()) disconnecting disconnected device (lustre-OST0000_osc) |
| Comment by Lai Siyao [ 12/Jul/11 ] |
|
The race looks like this: 1. `lctl --device $echo_client_dev detach`
-> class_detach() puts last refcount of export
-> obd_zombie_add_export(), and wake up zombie thread to cull this export.
2. zombie thread culls this export:
class_destroy_export() put last refcount of echo_client_obd
-> obd_cleanup()
-> echo_device_free()
-> echo_client_cleanup()
-> osc_disconnect()
-> client_disconnect_export() will clear cli->cl_import
3. `lctl --device $osc_dev cleanup`
-> osc_precleanup() found cl_import is not NULL (not NULL means this import is not connected), it will call
-> class_destroy_import()
-> class_import_put()
-> LASSERT(imp->imp_sec == NULL)
It's expected that step 2 is done before step 3, but if not (this can't be guaranteed currently), the ASSERT will be triggered because cli->cl_import is not cleared (see description in step 3). I think this bug is introduced in CLIO for obdecho. |
| Comment by Lai Siyao [ 13/Jul/11 ] |
|
Review is on http://review.whamcloud.com/#change,1093 |
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Peter Jones [ 15/Jul/11 ] |
|
Landed for 2.1 |
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|
| Comment by Build Master (Inactive) [ 15/Jul/11 ] |
|
Integrated in Oleg Drokin : 32ff1453bab3b1771d46b717df1ec479d156e5f8
|