OpenZFS restructuring - zpool

Factor Linux specific functions out of the zpool command.
    
Reviewed-by: Allan Jude <allanjude@freebsd.org>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Sean Eric Fagan <sef@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9333
This commit is contained in:
Matthew Macy
2019-09-30 12:16:06 -07:00
committed by Brian Behlendorf
parent 7bb0c29468
commit 3283f137d7
8 changed files with 445 additions and 352 deletions
+2
View File
@@ -117,6 +117,8 @@ extern boolean_t is_mpath_whole_disk(const char *);
#define is_mpath_whole_disk(path) (B_FALSE)
#endif
extern boolean_t zfs_isnumber(const char *);
/*
* Formats for iostat numbers. Examples: "12K", "30ms", "4B", "2321234", "-".
*