Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Wed, 18 May 2005 17:11:14 +0000 (17:11 +0000)
committeradilger <adilger>
Wed, 18 May 2005 17:11:14 +0000 (17:11 +0000)
commit1e70391f4e65b9d3e5002b1cc24033ba409b5476
tree03f2a1de128eec30d9fd768979cb3566fac024de
parentb986a531cf2ceb3c472bb42813b5f9bcc2676dc1
Branch b1_4
It was possible to get multiple mfd references during close and client
eviction, leading to either mds_close() or mds_mfd_close() referencing
a freed mfd.

Now we remove the mfd from the mfd_list and the handle hash under lock so
that once it starts on the road to destruction it is not possible to get a
new reference to it.  Also add comments on usage of mfd-related functions!
b=3819, b=4364, b=4397, b=6313
r=green
lustre/ChangeLog
lustre/mds/handler.c
lustre/mds/mds_internal.h
lustre/mds/mds_open.c