On Mon, Sep 2, 2013 at 8:17 PM, Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> wrote: > If an NFS client does > > mkdir("dir"); > fd = open("dir/file"); > unlink("dir/file"); > close(fd); > rmdir("dir"); > > then the asynchronous nature of the sillyrename operation means that > we can end up getting EBUSY for the rmdir() in the above test. Fix > that by ensuring that we wait for any in-progress sillyrenames > before sending the rmdir() to the server. I tested the patch on top of a 3.10.x When doing heavy operations like rm -rf dir/ with lots of data, the process gets stuck for ever. removing the patch fixes the issue. -- William -- 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