Whamcloud - gitweb
Drop the filter export grants under the same lock as the removal of the
authoradilger <adilger>
Tue, 9 Mar 2004 07:56:33 +0000 (07:56 +0000)
committeradilger <adilger>
Tue, 9 Mar 2004 07:56:33 +0000 (07:56 +0000)
commit45839553bd71246c51814bed9b778920d1bcc1d3
tree4d6e7f6e216729c081da0f7a5687199aa6db0749
parent1fc2e74c24d010dd762d73813653967951030d43
Drop the filter export grants under the same lock as the removal of the
export from the device from the export list.  This still isn't possible
for --force disconnects, so we don't do filter_grant_sanity_check() at
that time.

Also, change the LASSERTs to CERRORs in case this happens again.  First of
all to see if these errors are just transient during export disconnection
which means they are just overly-aggressive assertions, or if there is a
permanent accounting error that indicates some other problem.  Secondly, it
isn't possible to stop the use of existing export references, so there will
always be some small race during client eviction as completing operations
might update the export before it is destroyed.
b=2663
lustre/ChangeLog
lustre/obdfilter/filter.c