[issue1912] diskless vkernel: corrupted files after "pkg_admin c

看板DFBSD_bugs作者時間15年前 (2010/12/01 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
Rumko <rumcic@gmail.com> added the comment: More info ... After adding some swap to the vkernel, corruption does not occur (have not been able to repeat it). It seems that it tries to use a lot of memory and when unable to swap, data corruption occurs, but no error can be seen anywhere (other than the data disappearing). In my instance, after pkg_admin's check was finished, ~30MB of swap was used. I guess the problem is in tmpfs_write/read(maybe even buwrite)? swap_pager_strategy should be setting ENOMEM as the error when no swap space left, but I'm not quite sure how that propagates (if it does) to tmpfs' functions ---------- status: unread -> chatting _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue1912> _____________________________________________________
文章代碼(AID): #1CzZ8uF4 (DFBSD_bugs)
文章代碼(AID): #1CzZ8uF4 (DFBSD_bugs)