summaryrefslogtreecommitdiffstats
path: root/sys/ufs/mfs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-05-08 07:42:20 +0000
committermckusick <mckusick@FreeBSD.org>2001-05-08 07:42:20 +0000
commitd8ef9cc3b5b9f5e2ab6ca2d6250d97259e791511 (patch)
treec2964ee297000fc02e38d8e3da2d627ff4ec7f81 /sys/ufs/mfs
parent1be6156a3d0e1361a8aded14931c71b619cd3968 (diff)
downloadFreeBSD-src-d8ef9cc3b5b9f5e2ab6ca2d6250d97259e791511.zip
FreeBSD-src-d8ef9cc3b5b9f5e2ab6ca2d6250d97259e791511.tar.gz
When running with soft updates, track the number of blocks and files
that are committed to being freed and reflect these blocks in the counts returned by statfs (and thus also by the `df' command). This change allows programs such as those that do news expiration to know when to stop if they are trying to create a certain percentage of free space. Note that this change does not solve the much harder problem of making this to-be-freed space available to applications that want it (thus on a nearly full filesystem, you may still encounter out-of-space conditions even though the free space will show up eventually). Hopefully this harder problem will be the subject of a future enhancement.
Diffstat (limited to 'sys/ufs/mfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud