RE: [PATCH 1/1] nfs: fix race between renewd, umount, and the state manager in V4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Trond Myklebust [mailto:trond.myklebust@xxxxxxxxxx]
> Sent: Friday, January 22, 2010 12:21 PM
> To: Batsakis, Alexandros
> Cc: linux-nfs@xxxxxxxxxxxxxxx
> Subject: RE: [PATCH 1/1] nfs: fix race between renewd, umount, and the
> state manager in V4.1
> 
> On Fri, 2010-01-22 at 15:11 -0500, Trond Myklebust wrote:
> > Then the correct thing to do is to fix the renewd kill process. Once
> > that is done, there should be no reason for any sequence_done calls
> to
> > be pending (see reason above).
> 
> IOW: we should add a call to atomic_inc_not_zero(&clp->cl_count) in
> nfs4_proc_async_renew()/nfs41_proc_async_sequence(), and have them fail
> if that attempt to grab a reference fails. Then we should add a call to
> nfs_put_client() in their .rpc_release method.
> 
> Trond

Got it...will do. Thanks!

-a
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux