diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-19 20:59:55 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-19 20:59:55 +0200 |
commit | f97798e710929c0acb2b110c1cc16b1b267039a0 (patch) | |
tree | 602a14310907efbc00098afbb0dd891ea3f410e9 /sys/lib/python/compiler/misc.py | |
parent | 318cd6fbde65ee5c7a4bd513d185fa57cc61c4cd (diff) |
devsd: don't raise Enomem error if sdmalloc() fails, instead wait for the memory to become available
filesystems do not handle i/o errors well (cwfs will abandon the blocks),
and temporary exhaustion of kernel memory (because of too many i/o's in
parallel) causes read and write on the partition to fail.
i think it is better to wait for the memory to become available in
this case. the single allocation is at max SDmaxio bytes, which makes
it likely to become available. if we havnt even enought fo that, then
rebooting the machine would be the best option. (aux/reboot)
Diffstat (limited to 'sys/lib/python/compiler/misc.py')
0 files changed, 0 insertions, 0 deletions