DragonFly BSD
DragonFly bugs List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Alex Hornung \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 01 Dec 2010 12:37:28 +0000

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>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]