HomeFreeBSD

Don't store shadow copies of per-process AIO limits.

Description

Don't store shadow copies of per-process AIO limits.

Previously the AIO subsystem would save a snapshot of the currently
configured per-process limits the first time a process used AIO. The
process would continue to use the snapshotted limits ignoring any
changes to the global limits during the rest of its lifetime. This
change removes the snapshotted values and changes the AIO code to
always check the global values which can be toggled at runtime.
This means an administrator can now change the effective limits of
existing processes. This is more consistent with how other limits
configured via sysctl work in FreeBSD.

Reviewed by: asomers, kib
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D13819

Details

Provenance
jhbAuthored on
Reviewer
asomers
Differential Revision
D13819: Don't store shadow copies of per-process AIO limits.
Parents
rS327791: MFC r327289:
Branches
Unknown
Tags
Unknown