HomeFreeBSD

ffs_softdep: force sync if journal is low in journal_check_space

Description

ffs_softdep: force sync if journal is low in journal_check_space

This effectively causes syncing of the mount point from softdep_prealloc(),
softdep_prerename(), and softdep_prelink(). Typically it avoids the need
for journal suspension at this point, at all.

Suggested and 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

Details

Provenance
kibAuthored on Jun 15 2021, 10:27 AM
Differential Revision
D30041: ufs: avoid unneeded calls to softdep_prerename() and softdep_prelink()
Parents
R10:2126f103e043: ffs_softdep.c: add journal_check_space() helper
Branches
Unknown
Tags
Unknown