Lots of people use loopback in 2.2.x, where it works fine.
> This version of module should take the page number/offset it got, take the
> lo->lo_dentry->d_inode->i_mapping, find mapping->bmap(mapping, block). That
> will be the on-disk block. What additional information are you talking about?
> Kernel version? lo->transfer() gets lo, it gets page->index, it gets offset
> within the page. What else do you need to calculate the physical block position
> (== old IV)?
Nothing.
The additional information is whether the disk image uses the absolute
or the relative IVs.
The bad part of the change is to make the relative IV the default, it needs
to be an optional feature for new filter modules that know what they are
doing (or that they don't need to worry about backwards compatibility)
The way to do that is to add new function vectors to loop_func_table.
-Andi
-- This is like TV. I don't like TV.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/