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

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Dec 1 04:38:55 PST 2010

Alex Hornung <ahornung at 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.


DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list