[nfs-discuss] webrev for CR 6678463

2009-02-19 Thread james wahlig
I thought this was reviewed already...  Anyway, the change looks good.

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/ 
> 
>
> 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 at opensolaris.org





[nfs-discuss] webrev for CR 6678463

2009-02-19 Thread Dai Ngo
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/ 
>> 
>>
>> 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 at opensolaris.org
>
>




[nfs-discuss] webrev for CR 6678463

2009-02-19 Thread Dai Ngo
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/ 


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