Re: Proposing space management API to perform hole-punching

"Poul-Henning Kamp" <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <[email protected]>
--------

Ka Ho Ng via freebsd-arch writes:

> The proposal contains fspacectl(2), VOP_DEALLOCATE(9) and vn_deallocate(9). fspacectl(2) is a space management API that takes a file descriptor, a command value, a range and flags.  The system call is responsible for doing space management operations such as punching holes, which is the only operation supported so far. [...]

1. Which other operations are/can be foreseen ?

2. What arguments would they need ?

3. Should the syscall definition take this into account already now ?

4. Are there any existing APIs for this ?

5. Should we stick closely to them ?  If not, why not ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.