Whamcloud - gitweb
Branch b1_4_mountconf
authornathan <nathan>
Wed, 22 Feb 2006 00:04:26 +0000 (00:04 +0000)
committernathan <nathan>
Wed, 22 Feb 2006 00:04:26 +0000 (00:04 +0000)
commit156a156b699bde7a7ad68ff429cad862d7a03196
treeef11669abde5aa1b64eafdaedcea238b1be85041
parent799399338f5812dc16b4281b96bfd56c8adb3266
Branch b1_4_mountconf
b=8007
Hunt down some memory leaks:
1. There are problems with the llog_finish/init pair in mds_lov_add_ost.
   Firstly, they must be atomic as a pair.
   Secondly, the setup sets up more than the cleanup cleans up (see
   note in llog_setup), so we hackishly fix that.
2. Make sure we don't exit the umount until after we've dropped all our
   references to the mount.  Class_cleanup isn't synchronous, and we can't
   exit the umount and risk our sb getting destroyed until we're really done.
   So added a polling check.  Also, move the MDS/OSS cleanup check until after
   the poller, since I'm just looking at the class refcount.
lustre/mds/mds_lov.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog_obd.c
lustre/obdclass/obd_mount.c