Whamcloud - gitweb
b=23131 issue OBD_NOTIFY_CREATE event in lov
authorJohann Lombardi <johann@sun.com>
Wed, 30 Jun 2010 08:28:46 +0000 (10:28 +0200)
committerJohann Lombardi <johann@sun.com>
Wed, 30 Jun 2010 08:28:46 +0000 (10:28 +0200)
commit324622c05eb58abde07b2e459d870f95d4410cbe
tree8a5695ca8b2a3e4435881ee614c944ce24bc84d1
parentb4b9b4faf0443fd7f9b6cd8820eaff754bc9f120
b=23131 issue OBD_NOTIFY_CREATE event in lov

i=nathan
i=andrew

(mds_lov.c:573:mds_lov_update_desc()) Process entered
(obd_class.h:376:obd_get_info()) Process entered
(obd_class.h:378:obd_get_info()) obd_get_info: NULL export
(obd_class.h:378:obd_get_info()) Process leaving (rc=18446744073709551597 : -19
ffffffffffffffed)

The problem is that mds_lov_connect() calls obd_notify(OBD_NOTIFY_CREATE)
*before* obd_connect(...,&mds->mds_lov_exp). Since mds_notify(OBD_NOTIFY_CREATE)
requires mds->mds_lov_exp which is not yet initialized, it fails.
lustre/liblustre/super.c
lustre/llite/llite_lib.c
lustre/lov/lov_obd.c
lustre/mds/mds_lov.c