On Fri, May 05, 2006 at 11:55:17PM -0500, Spencer Shepler wrote:
> On Fri, Joe Little wrote:
> > Thanks. I'm playing with it now, trying to get the most succinct test.
> > This is one thing that bothers me: Regardless of the backend, it
> > appears that a delete of a large tree (say the linux kernel) over NFS
> > takes forever, but its immediate when doing so locally. Is delete over
> > NFS really take such a different code path?
> 
> Yes.  As mentioned in my other email, the NFS protocol requires
> that operations like REMOVE, RMDIR, CREATE have the filesystem
> metadata written to stable storage/disk before sending a response
> to the client.  That is not required of local access and therefore
> the disparity between the two.

So then multi-threading rm/rmdir on the client-side would help, no?

Are there/should there be async versions of creat(2)/mkdir(2)/
rmdir(2)/link(2)/unlink(2)/...?

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to