Alex Hornung <[email protected]> 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 <[email protected]> <http://bugs.dragonflybsd.org/issue1912> _____________________________________________________
