short path for "zfs/zpool upgrade -v" befor libzfs_init#18694
Conversation
In freebsd, there will no kernel auto-load for this two commands. zpool upgrade still need kernel in linux. Signed-off-by: tiehexue <tiehexue@hotmail.com>
9ee6596 to
3c971d9
Compare
|
As far as I can tell, the only reason the kernel module isn't interrogated for feature information on FreeBSD is because the If that's so, that makes the whole premise of this change wrong. It's not that All that aside, I don't actually understand what this carveout would accomplish anyway. You call |
|
Yes, I also have some questions. 1) does FreeBSD community even know that "zpool upgrade -v" is not actually implemented? It just return B_TRUE for all features. 2) why do they call it in a base line scanning tool? 3) Should we implement this command in users pace, and move Linux implementation back too? I guess it is doable. |
Motivation and Context
In freebsd, there will no kernel auto-load for this two commands. zpool upgrade still need kernel
in linux. Refer to #18593 for more details.
Description
Just move the two commands before libzfs_init.
How Has This Been Tested?
Tested locally with strace/truss.
Types of changes
Checklist:
Signed-off-by.