]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Put in place the framework for consolodating contiguous blocks into
authorKirk McKusick <mckusick@FreeBSD.org>
Mon, 6 Aug 2018 21:09:11 +0000 (21:09 +0000)
committerKirk McKusick <mckusick@FreeBSD.org>
Mon, 6 Aug 2018 21:09:11 +0000 (21:09 +0000)
commit68c49bcc40c0bf02dbedb27980910f7e3a306db1
treebfb0e4e956bf2af2f30ae5d93219d5588fe0c8ff
parenta7ec419d932898f19340a2e061c5e02981d07362
Put in place the framework for consolodating contiguous blocks into
a smaller number of larger TRIM requests. The hope had been to have
the full TRIM consolodation in place for 12.0, but the algorithms
are still under development and need further testing. With this
framework in place it will be possible to easily add TRIM consolodation
once the optimal strategy has been found.

The only functional change with this patch is the elimination of TRIM
requests for blocks that are freed before they have been likely to
have been written.

Reviewed by: kib
Discussed with: Warner Losh and Chuck Silvers
Sponsored by: Netflix
sys/ufs/ffs/ffs_alloc.c
sys/ufs/ffs/ffs_balloc.c
sys/ufs/ffs/ffs_extern.h
sys/ufs/ffs/ffs_inode.c
sys/ufs/ffs/ffs_snapshot.c
sys/ufs/ffs/ffs_softdep.c
sys/ufs/ffs/ffs_vfsops.c
sys/ufs/ffs/softdep.h
sys/ufs/ufs/ufsmount.h