HardenedBSD/sys/ufs
Konstantin Belousov 46f02c4282 SU+J: all writes to SU journal must be exempt from runningbufspace throttling
regardless whether they come from the system thread or initiated from a
normal thread helping the system.  If we block waiting for other writes,
that writes might not finish because our journal updates block that.

Set TDP_NORUNNINGBUF around softdep_process_journal().

Note: Another solution might be to use bwrite() instead of bawrite() if the
current thread is subject to the runningbufspace limit.  The exempt
approach is used to be same as the bufdaemon.

PR:	282449
Noted and reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2024-11-13 21:35:03 +02:00
..
ffs SU+J: all writes to SU journal must be exempt from runningbufspace throttling 2024-11-13 21:35:03 +02:00
ufs