Re: OT: why no file copy() libc/syscall ??

From: Daniel Gryniewicz
Date: Mon Nov 10 2003 - 23:05:36 EST


On Mon, 2003-11-10 at 22:50, Andreas Dilger wrote:
> Having a sys_copy() syscall would be incredibly useful for Lustre
> (distributed Linux fs). We could start a copy from one storage node
> to another (or more likely many to many for a file striped over many
> storage nodes) at num_stripes * uni-directional bandwidth with no
> impact to the client node. Instead, we have to copy files at best a
> single client's bi-directional network_bandwidth.

Plus a sys_copy() syscall could be used as a generic way for filesystems
to set up Copy-on-Write. Right now, you'd need to have userspace call
sys-reiser4 or something like that.
--
Daniel Gryniewicz <dang@xxxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part