[ofa-general] Re: Re: OFED HA related question
Gleb Natapov
glebn at voltaire.com
Thu May 17 01:30:44 PDT 2007
On Thu, May 17, 2007 at 11:26:03AM +0300, Michael S. Tsirkin wrote:
> > Quoting Gleb Natapov <glebn at voltaire.com>:
> > Subject: Re: Re: OFED HA related question
> >
> > On Wed, May 16, 2007 at 07:03:13PM -0700, Roland Dreier wrote:
> > > > Also does ibv_dereg_mr() work when fatal error occurs ?
> > >
> > > It will probably fail but you should try to destroy all your resources
> > > I guess.
> > >
> > This is very good question. Application should be able to unpin memory
> > even if HCA is completely dead.
>
> This is only safe after you reset the HCA, otherwise it might be
> writing over this memory.
>
Right. Good point. So to recover memory after HCA failure event we need
to reset HCA and only after that unpin memory. What current mthca driver
does in case it cannot unregister memory from HCA? Does it proceed to unpin
it?
--
Gleb.
More information about the general
mailing list