> From: Bill Sommerfeld <[EMAIL PROTECTED]>
[ ... ]
> To toss another option on the table, we already have
> sendfile()/sendfilev() -- this already more-or-less has the high-level
> semantics you want of "move data from here to there efficiently".

Well, it's "copy data". The point here was in-place-concatenation
(with the deletion/removal of the file-to-be-tucked-on implied).
sendfile() doesn't do that. It only manipulates metadata, and
should be able to do that "instantly" if possible. Just move - with
no (intermediate) data duplication along the way.

Although one could now start speculating about using copy-on-write
techniques to implement "instant sendfile" within a filesystem via
concatenation (i.e. make sendfile == "snapshot file"+"concat file").

Ok, I'll stop it here. Too much pure speculation.

FrankH.

_______________________________________________
ufs-discuss mailing list
[email protected]

Reply via email to