aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/imgact.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-05-01 21:53:21 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-06-23 20:46:54 +0000
commit64b494a1050ae2cf2412edc19b57dc80f49eeda1 (patch)
treee59c991c015c5a4711838fe221b77aeb2d50b6de /sys/sys/imgact.h
parentf7565466622a411a50522f23528faeb1e57d4571 (diff)
downloadsrc-64b494a1050ae2cf2412edc19b57dc80f49eeda1.tar.gz
src-64b494a1050ae2cf2412edc19b57dc80f49eeda1.zip
softdep_prelink(): only do sync if other thread changed the vnode metadata since previous prelink
We call into softdep_prerename() and softdep_prelink() when there is low free space in the journal. Functions sync all vnodes participating in the VOP, in the hope that this would reduce journal utilization. But if the vnodes are already synced, doing sync would only spend writes, journal is filled not due to the records from modifications of our vnodes. Remember original seqc numbers for vnodes, and only initiate syncs when seqc changed. Reviewed by: mckusick Discussed with: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D30041
Diffstat (limited to 'sys/sys/imgact.h')
0 files changed, 0 insertions, 0 deletions