Re: grub2 boot root-on-zfs errors

2013-09-23 Thread Massimo Maggi
you're interested in. For instance: tankpool/mydataset/myfolder/myfile should be written as (hd0,gpt2)/mydataset/@/myfolder/myfile. You can check the syntax by using the Grub interactive command line and tab-completion. Regards, Massimo Maggi ___ Grub

Re: [PATCH 1/5] Fix reporting of RAIDZ vdevs in zfsinfo

2013-08-09 Thread Massimo Maggi
Nella citazione in data ven 09 ago 2013 04:39:35 CEST, Andrey Borzenkov ha scritto: This condition sounds strange. Should it not be == ZEC_MAGIC? Obviously you're right! Thanks for catching this! I've attached the updated patch. Massimo Maggi From 7270d3fe49fbaf168897f84b0cc75cd4450264f6 Mon

Re: [PATCH 1/5] Fix reporting of RAIDZ vdevs in zfsinfo

2013-08-08 Thread Massimo Maggi
On 06/05/2013 23:03, Massimo Maggi wrote: When the issue about the infinite loop gets fully understood and fixed, I'll send an updated set of patches. Sorry for the long wait, I was really busy. I've seen that the previous patches were merged. :) In https://github.com/maxximino/grub2/issues/1

Re: [PATCH 1/5] Fix reporting of RAIDZ vdevs in zfsinfo

2013-05-06 Thread Massimo Maggi
fixes zfsinfo to correctly report informations about RAID-Z vdev's. Regards, Massimo Maggi On 05/05/2013 00:58, Vladimir 'φ-coder/phcoder' Serbinenko wrote: The patches look ok. The patches it's based on look like original work. However your patches are corrupted by your mailer beyond recovery

Re: [PATCH 1/5] Fix reporting of RAIDZ vdevs in zfsinfo

2013-05-06 Thread Massimo Maggi
the refactoring of nvlist_find_value and keeping the codebase of ZFS in Grub2 less consistent with ZFS in Grub1/IllumOS where AFAIK new features are primarily developed? Regards, Massimo Maggi diff --git a/grub-core/fs/zfs/zfsinfo.c b/grub-core/fs/zfs/zfsinfo.c index fdb587a..c96bf21 100644 --- a/grub-core

Re: [PATCH 0/5] ZFS Feature flags and LZ4 compression support

2013-04-10 Thread Massimo Maggi
On 04/02/2013 12:08, Massimo Maggi wrote: Massimo Maggi (5): Fix reporting of RAIDZ vdevs in zfsinfo Accept pool version 5000 for feature flags Refactoring of function nvlist_find_value Check for feature flags needed to read from the pool. LZ4 compression in ZFS Dear Sirs, I'm

[PATCH 0/5] ZFS Feature flags and LZ4 compression support

2013-02-04 Thread Massimo Maggi
commit. Sorry for the GIT-esque style of sending patches, if you need them formatted in another way, or to fix something, just ask me. Thanks for your attention, Massimo Maggi Massimo Maggi (5): Fix reporting of RAIDZ vdevs in zfsinfo Accept pool version 5000 for feature flags Refactoring

[PATCH 1/5] Fix reporting of RAIDZ vdevs in zfsinfo

2013-02-04 Thread Massimo Maggi
Author: Massimo Maggi m...@massimo-maggi.eu --- grub-core/fs/zfs/zfsinfo.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/grub-core/fs/zfs/zfsinfo.c b/grub-core/fs/zfs/zfsinfo.c index fdb587a..c96bf21 100644 --- a/grub-core/fs/zfs/zfsinfo.c +++ b/grub

[PATCH 2/5] Accept pool version 5000 for feature flags

2013-02-04 Thread Massimo Maggi
Ported to GRUB2 from IllumOS changeset 137002889e2596bd6 Author: Christopher Siden chris.si...@delphix.com Ported-by: Massimo Maggi m...@massimo-maggi.eu --- grub-core/fs/zfs/zfs.c | 14 +- include/grub/zfs/zfs.h | 9 +++-- 2 files changed, 12 insertions(+), 11 deletions

[PATCH 3/5] Refactoring of function nvlist_find_value

2013-02-04 Thread Massimo Maggi
It's needed to allow iteration of nvlists in other functions. Ported to GRUB2 from IllumOS changeset 137002889e2596bd6 Author: Christopher Siden chris.si...@delphix.com Ported-by: Massimo Maggi m...@massimo-maggi.eu --- grub-core/fs/zfs/zfs.c | 230

[PATCH 4/5] Check for feature flags needed to read from the pool.

2013-02-04 Thread Massimo Maggi
Ported to GRUB2 from IllumOS changeset 137002889e2596bd6 Author: Christopher Siden chris.si...@delphix.com Ported-by: Massimo Maggi m...@massimo-maggi.eu --- grub-core/fs/zfs/zfs.c | 102 - include/grub/zfs/dmu.h | 46

[PATCH 5/5] LZ4 compression in ZFS

2013-02-04 Thread Massimo Maggi
IllumOS issue #3035 - original commit a6f561b4aee75d0d028e7b36b151c8ed8a86bc76 Author: Saso Kiselkov skisel...@gmail.com Ported-by: Massimo Maggi m...@massimo-maggi.eu --- Makefile.util.def | 1 + grub-core/Makefile.core.def | 1 + grub-core/fs/zfs/zfs.c | 7 +- grub-core