Re: NFS sillyrename side effect

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

 



On Mon, 18 Oct 2010 12:21:43 -0400 Lyle Seaman <lyleseaman@xxxxxxxxx> wrote:
> You would need to do the state recovery before or during the fsck
> (which would require the local filesystem to have some loose
> integration with the network protocol).
> 
> Also, re the original issue, can't the client do a silly rename of the
> directory if it contains only .nfs files during rmdir?
> 

 I think the problem is that would be racy. You have no guarantee that
other clients won't create files on that directory between the time you
check the directory and the time you'd silly-rename it, so you would
end up "deleting" directories which are not "empty".

Best regards

ClÃudio

--
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