]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not use waitable allocation of pbuf when creating cluster for write.
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 23 Dec 2019 20:15:19 +0000 (20:15 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 23 Dec 2019 20:15:19 +0000 (20:15 +0000)
commit52f3524cfd971501221385d1670af3201b5b7270
treefb80ba64fc2cb0632a2d00360d510d1b573d1790
parente41d62768dbdd71bef30ca68125ead5c6dcc85e4
Do not use waitable allocation of pbuf when creating cluster for write.

Previously just ensuring that we do not sleep when clustering for
md(4) vnode was enough.  Now, with the switch of the pbuf allocator to
uma and completely broken per-subsystem pbuf limits, it might cause
unbounded sleep even for non-md(4) vnodes.

Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D22899
sys/kern/vfs_cluster.c