Richard Scheffenegger c804c8f2c5 Export sbuf_drain to orchestrate lock and drain action
While exporting large amounts of data to a sysctl
request, datastructures may need to be locked.

Exporting the sbuf_drain function allows the
coordination between drain events and held
locks, to avoid stalls.

PR:		254333
Reviewed By:	jhb
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D29481
2021-03-31 19:17:37 +02:00
..
2021-01-02 19:57:58 -07:00
2021-03-30 17:47:49 +02:00
2021-01-15 20:09:55 +01:00
2021-03-17 06:16:31 +11:00
2021-03-17 06:16:31 +11:00