Andrey Kuzmin a écrit :
zvol (interface) does not just 'export raw device' but rather
implements volume abstraction and integrates volume management into
file-system.
Yep. I suck at writing english, thanks for pointing that out :)
I surely mislead myself, but I think that the "volume management" of ZFS
could be done with file.
Alloc on write ? Use sparse file. Resizing ? Append or truncate the
file. Snapshot ? Snapshot the file. Another Volume ? An other file :)
In fact, the two thinks that have to be done, for me, is :
1/ Optimise the different layer to bypass permission, acl, & co, and
surely the way data is written.
2/ Be able to export those file directly as block device. (Allowing
some more optimisation :) )
It's why I called this feature "export raw device" (as in "export raw
file as block device"). As I say, it could be emulated with file and
loopback, but it'll surely be slow ... So I wanna know if btrfs plan to
have those type of optimization (and the user land tools to simplify
it's management).
Regards,
Sébastien Wacquiez
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html