git: hammer2 - Improve swapcache support
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Sep 8 11:11:10 PDT 2017
commit 432f29db7a12e3da7dbfb4d54d65799e4e3cb1bb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Sep 8 11:00:40 2017 -0700
hammer2 - Improve swapcache support
* Properly set B_NOTMETA on media buffers, which allows swapcache to
distinguish between data and meta-data buffers.
This ensures that a user desiring to only swapcache meta-data does
not blow all the SSD swap on file data, particularly if there is an
excessive amount of file data.
* Greatly improves bulkfree performance on hard drives when SSD swapcache
is enabled for meta-data only.
Summary of changes:
sys/vfs/hammer2/hammer2_io.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/432f29db7a12e3da7dbfb4d54d65799e4e3cb1bb
--
DragonFly BSD source repository
More information about the Commits
mailing list