[LU-9231] cleanup test env when mdd-survey exit abnormally Created: 20/Mar/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: Minh Diep Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If mdd-survey failed and did not clean up properly, we might hit

12:03:27:[53931.651543] LustreError: 6647:0:(hash.c:1138:cfs_hash_destroy()) ASSERTION( !cfs_hash_with_assert_empty(hs) ) failed: hash lu_site_osd-ldi bucket 3(318) is not  empty: 1 items left
12:03:27:[53931.656508] LustreError: 6647:0:(hash.c:1138:cfs_hash_destroy()) LBUG
12:03:27:[53931.658856] Pid: 6647, comm: obd_zombid
12:03:27:[53931.661008] 
12:03:27:[53931.661008] Call Trace:
12:03:27:[53931.665075]  [<ffffffffa06fe853>] libcfs_debug_dumpstack+0x53/0x80 [libcfs]
12:03:27:[53931.667470]  [<ffffffffa06fedf5>] lbug_with_loc+0x45/0xc0 [libcfs]
12:03:27:[53931.669791]  [<ffffffffa071612c>] cfs_hash_putref+0x38c/0x4e0 [libcfs]
12:03:27:[53931.672205]  [<ffffffffa0850d18>] lu_site_fini+0x48/0x90 [obdclass]
12:03:27:[53931.674491]  [<ffffffffa0cb9687>] osd_device_free+0xa7/0x4a0 [osd_ldiskfs]
12:03:27:[53931.676781]  [<ffffffffa0836b66>] class_decref+0x3f6/0x4e0 [obdclass]
12:03:27:[53931.679009]  [<ffffffffa0821fae>] obd_zombie_impexp_cull+0x5fe/0xa80 [obdclass]
12:03:27:[53931.681302]  [<ffffffffa082249d>] obd_zombie_impexp_thread+0x6d/0x1b0 [obdclass]
12:03:27:[53931.683610]  [<ffffffff810c4ec0>] ? default_wake_function+0x0/0x20
12:03:38:[53931.685808]  [<ffffffffa0822430>] ? obd_zombie_impexp_thread+0x0/0x1b0 [obdclass]
12:03:38:[53931.688082]  [<ffffffff810b052f>] kthread+0xcf/0xe0
12:03:38:[53931.690100]  [<ffffffff810b0460>] ? kthread+0x0/0xe0
12:03:38:[53931.692131]  [<ffffffff81696658>] ret_from_fork+0x58/0x90
12:03:38:[53931.694157]  [<ffffffff810b0460>] ? kthread+0x0/0xe0
12:03:38:[53931.696192] 
12:03:38:[53931.698000] Kernel panic - not syncing: LBUG



 Comments   
Comment by Gerrit Updater [ 20/Mar/17 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: https://review.whamcloud.com/26092
Subject: LU-9231 tests: cleanup obdecho before iokit exit
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c2b3f492ec47f38d72dfb61cf92e6b1332527f5a

Comment by Gerrit Updater [ 26/Mar/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26092/
Subject: LU-9231 tests: cleanup obdecho before iokit exit
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 211f7cb550431f326d9fdd0d560c56b89dc1072e

Comment by Peter Jones [ 26/Mar/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:24:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.