Re: [PATCH] zero out delegation in the inode after it has been returned

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

 



Trond Myklebust wrote:

  nfsi->delegation is released under the appropriate locks well before we
  get here. The above line is 100% racy and risks clobbering any new
  delegation that has been issued after the delegreturn completed...

I'd have been amazed if I'd gotten it right.  But there really is a problem
here, the client does try to use delegations that have been returned, and
this patch does solve that problem.  I'm happy to keep after this but would
appreciate any suggestions or nudges in the right direction.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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