Re: [patch 6/12] hold atomic kmaps across generic_file_read

David Woodhouse
2002-08-12T14:43:16Z

jgarzik@mandrakesoft.com said:
> > > A copy-file syscall would be nice, too, but that's just laziness
> > > talking....

> > You have a laptop computer with a USB-connected Ethernet.
> > You mount a NetApp or similar box via the SMB/CIFS protocol.
> > You see a multi-gigabyte file. You make a copy... ouch!!!
> > For each gigabyte, you hog the network for an hour.

> /bin/cp has these problems regardless of whether or not it uses a
> copy-file syscall.

Nope. There was a reason he specified SMB/CIFS.

--
dwmw2