freebsd-dev/sys/fs
Poul-Henning Kamp 0375c9f2b8 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)
1998-09-05 14:13:12 +00:00
..
cd9660 There is no such thing any more as "struct bdevsw". 1998-07-04 22:30:26 +00:00
coda Pass2 complete 1998-09-02 19:09:53 +00:00
deadfs Enabled Lite2 fix for reading from dead ttys. 1998-08-23 11:43:29 +00:00
fdescfs Avoid a 64-bit division in fdesc_readdir(). Fixed related overflows 1998-06-14 08:46:41 +00:00
fifofs Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
msdosfs Removed unused includes. 1998-08-17 19:09:36 +00:00
nullfs Fixed printf format errors. 1998-07-30 17:40:45 +00:00
portalfs Make these files compile. 1998-06-10 21:21:31 +00:00
procfs Style fixes and a bug fix: don't remove the exit handler if unmount 1998-07-27 22:47:17 +00:00
specfs Add a new vnode op, VOP_FREEBLKS(), which filesystems can use to inform 1998-09-05 14:13:12 +00:00
umapfs Use [u]intptr_t instead of [u_]long for casts between pointers and 1998-08-16 01:21:52 +00:00
unionfs Cast pointers to [u]intptr_t instead of to [unsigned] long. 1998-07-15 04:17:55 +00:00