Date: Wed, 29 Dec 2010 11:39:15 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <201012291139.oBTBdVM5085968@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-12-29 11:39:15 UTC
FreeBSD src repository
Modified files:
sys/dev/md md.c
Log:
SVN rev 216793 on 2010-12-29 11:39:15Z by kib
Add sysctl vm.md_malloc_wait, non-zero value of which switches malloc-backed
md(4) to using M_WAITOK malloc calls.
M_NOWAITOK allocations may fail when enough memory could be freed, but not
immediately. E.g. SU UFS becomes quite unhappy when metadata write return
error, that would happen for failed malloc() call.
Reported and tested by: pho
MFC after: 1 week
Revision Changes Path
1.191 +8 -3 src/sys/dev/md/md.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012291139.oBTBdVM5085968>
