freebsd-skq/sys/dev/md
Konstantin Belousov c44d423ed8 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
2010-12-29 11:39:15 +00:00
..
md.c Add sysctl vm.md_malloc_wait, non-zero value of which switches malloc-backed 2010-12-29 11:39:15 +00:00