Home
last modified time | relevance | path

Searched refs:raid_kind (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c810 char raid_kind[8] = { "random" }; in process_options() local
856 (void) strlcpy(raid_kind, optarg, sizeof (raid_kind)); in process_options()
938 if (strcmp(raid_kind, "random") == 0) { in process_options()
939 (void) strlcpy(raid_kind, (ztest_random(2) == 0) ? in process_options()
940 "draid" : "raidz", sizeof (raid_kind)); in process_options()
943 (void) printf("choosing RAID type '%s'\n", raid_kind); in process_options()
946 if (strcmp(raid_kind, "draid") == 0) { in process_options()
980 ASSERT0(strcmp(raid_kind, "raidz")); in process_options()