File:  [NetBSD Developer Wiki] / wikisrc / projects / project / ffs-discard.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Wed Nov 25 07:23:21 2015 UTC (4 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: HEAD
discard projects

[[!template id=project

title="Discard for FFS"

contact="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

mentors="""
"""

category="filesystems"
difficulty="medium"
duration="2-3 months"

description="""
The fdiscard system call, and the file-system-level discard operation
backing it, allow dropping ranges of blocks from files to create
sparse files with holes.
This is a simple generalization of truncate.

Discard is not currently implemented for FFS; implement it.
(For regular files.)
It should be possible to do so by generalizing the existing truncate
code; this should be not super-difficult, but somewhat messy.

"""

]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb