[pnfs] [PATCH 0/5] nfs4_client reference counting
Benny Halevy
bhalevy at panasas.com
Thu May 17 12:00:01 EDT 2007
William A. (Andy) Adamson wrote:
> Hi Benny
>
> These all look good to me.
Great.
In afterthought, I came to the conclusion that it is not essential
to use kref for struct nfs4_client. The rpc cl_users recount can be
used in layoutrecall path, same as cb_recall, and in all the other
places the client structure is accessed always under the state lock.
So for the sake of doing the minimum required changes, I'm going to
re-implement the nfsd layout cache patches in the pnfs this way.
Just please let me know if you do want to use kref for struct nfs4_client
after all.
Benny
>
> -->Andy
>
> On 5/17/07, Benny Halevy <bhalevy at panasas.com> wrote:
>> This patchset is against the 4.1-sessions branch and is applicable
>> also to mainline.
>>
>> These patches can go upstream:
>> 0001-rpc_clnt-ref-count-for-nfs4_cb_recall.patch
>> 0002-delete-nfs4_client-ref-counting-from-nfsd4_probe_cal.patch
>> 0003-change-list_del-in-expire_client-to-list_del_init.patch
>>
>> These patches are helpful for debugging:
>> 0004-add-BUG_ONs-to-free_client.patch
>> 0005-introduce-BUG_ON_UNLOCKED_STATE.patch
>>
>> Benny
>> _______________________________________________
>> pNFS mailing list
>> pNFS at linux-nfs.org
>> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>>
>>
>
More information about the pNFS
mailing list