tech-kern archive

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

Re: vnode_has_large_blocks() (vnd.c rev 1.255)



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>But in any case, the code as is is wrong, and always ends up using 
>vnrdwr().

I can at least confirm that it doesn't work as intended.

vnd1                   disk    1           b3daaac8           b6a50c08
crash> x/x b6a50c08
b6a50c08:       b3daaac8
crash> 
b6a50c0c:       11c1

That has VNF_USE_VN_RDWR (0x1000) set. But vnd1 uses backing store with
4k fragments and the geometry has 4k sectors, so it really should use
the strategy method.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index