freebsd-dev/sys/miscfs
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
..
deadfs Enabled Lite2 fix for reading from dead ttys. 1998-08-23 11:43:29 +00:00
devfs Cosmetic changes to the PAGE_XXX macros to make them consistent with 1998-09-04 08:06:57 +00:00
fdesc 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
kernfs Fixed printf format errors. 1998-07-30 17:40:45 +00:00
nullfs Fixed printf format errors. 1998-07-30 17:40:45 +00:00
portal 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
union Cast pointers to [u]intptr_t instead of to [unsigned] long. 1998-07-15 04:17:55 +00:00