diff options
author | phk <phk@FreeBSD.org> | 1998-09-05 14:13:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-09-05 14:13:12 +0000 |
commit | 4630814c8bc51e668f785289086657fbd5e775f2 (patch) | |
tree | e5449931fffd8e8dd0e4d28f5b7b28dc6e36ba5c /lib/libc/stdio/refill.c | |
parent | ec3c90cf78eb16d4a8906a64e2a6f76cf27b8441 (diff) | |
download | FreeBSD-src-4630814c8bc51e668f785289086657fbd5e775f2.zip FreeBSD-src-4630814c8bc51e668f785289086657fbd5e775f2.tar.gz |
Add a new vnode op, VOP_FREEBLKS(), which filesystems can use to inform
device drivers about sectors no longer in use.
Device-drivers receive the call through d_strategy, if they have
D_CANFREE in d_flags.
This allows flash based devices to erase the sectors and avoid
pointlessly carrying them around in compactions.
Reviewed by: Kirk Mckusick, bde
Sponsored by: M-Systems (www.m-sys.com)
Diffstat (limited to 'lib/libc/stdio/refill.c')
0 files changed, 0 insertions, 0 deletions