[issue1912] diskless vkernel: corrupted files after "pkg_admin c
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>
_____________________________________________________
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):