[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-nfs-discuss
Subject:    Re: [nfs-discuss] webrev for  CR 6678463
From:       Dai Ngo <Dai.Ngo () Sun ! COM>
Date:       2009-02-19 21:20:35
Message-ID: 499DCD23.9090509 () sun ! com
[Download RAW message or body]

james wahlig wrote:
> I thought this was reviewed already...  Anyway, the change looks good.
Thanks Jim. Yes, Mahesh reviewed it yesterday. I just need a second
reviewer to make sure before submitting the RTI.

-Dai
>
> jim
>
> Dai Ngo wrote:
>
>> Hi,
>>
>> I need a code review for the fix of CR 6678463.
>>
>> The root cause of this problem was that the connection was not
>> marked as dead,  after it was disconnected, so it can be closed
>> later on by the connection manager's garbage collector.
>>
>> webrev is here: http://cr.opensolaris.org/~dain/6678463/ 
>> <http://cr.opensolaris.org/%7Edain/6678463/>
>>
>> The output of 'webrev' is somehow 1 line off.  Below is the output
>> of 'hg diff' which is more accurate:
>>
>>>
>>> @@ -3197,9 +3197,12 @@
>>>                                  * be sending any more RPC replies, 
>>> we abort
>>>                                  * the connection, including flushing
>>>                                  * any RPC requests that are 
>>> in-transit.
>>> +                                * In either case, mark the entry as 
>>> dead so that
>>> +                                * it can be closed by the 
>>> connection manager's
>>> +                                * garbage collector.
>>>                                  */
>>> +                               cm_entry->x_dead = TRUE;
>>>                                 if (cm_entry->x_closing) {
>>> -                                       cm_entry->x_dead = TRUE;
>>>                                         mutex_exit(&connmgr_lock);
>>>                                         have_connmgr_lock = 0;
>>>                                         if (clnt_stop_idle != NULL)
>>
>> Thanks,
>> -Dai
>>
>> _______________________________________________
>> nfs-discuss mailing list
>> nfs-discuss@opensolaris.org
>
>

_______________________________________________
nfs-discuss mailing list
nfs-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic