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

看板DFBSD_bugs作者時間15年前 (2010/12/01 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
Alex Hornung <ahornung@gmail.com> added the comment: No, what you should be looking at are the strategy routines, i.e. tmpfs_strategy. From a short glance it should actually work just fine. tmpfs_strategy calls swap_pager_strategy, which sets the buf error to ENOMEM if swp_pager_getswapspace returns SWAPBLK_NONE, which then gets biodone()d further down, outside the loop. Can you check the return value of swap_pager_getswapspace? is it returning SWAPBLK_NONE? try kprintf'ing something there. Cheers, Alex _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue1912> _____________________________________________________
文章代碼(AID): #1CzaSJC4 (DFBSD_bugs)
文章代碼(AID): #1CzaSJC4 (DFBSD_bugs)