• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/

Lines Matching defs:vdev

55  *	6. If the pool has the 'autoreplace' property set, and the matching vdev
92 #define DEV_BYVDEV_PATH "/dev/disk/by-vdev/"
162 * The device associated with the given vdev (either by devid or physical path)
179 zfs_process_add(zpool_handle_t *zhp, nvlist_t *vdev, boolean_t labeled)
197 if (nvlist_lookup_string(vdev, ZPOOL_CONFIG_PATH, &path) != 0)
201 verify(nvlist_lookup_uint64_array(vdev, ZPOOL_CONFIG_VDEV_STATS,
209 (void) nvlist_lookup_string(vdev, ZPOOL_CONFIG_PHYS_PATH, &physpath);
210 (void) nvlist_lookup_string(vdev, ZPOOL_CONFIG_VDEV_ENC_SYSFS_PATH,
212 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk);
213 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_OFFLINE, &offline);
214 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &guid);
220 zed_log_msg(LOG_INFO, "zfs_process_add: pool '%s' vdev '%s', phys '%s'"
256 zed_log_msg(LOG_INFO, " zpool_vdev_online: vdev %s is %s",
271 * vdev online to trigger a FMA fault by posting an ereport.
284 * needs to be /dev/disk/by-vdev for a scsi_debug device since
309 nvlist_lookup_string(vdev, "new_devid", &new_devid);
394 * Construct the root vdev to pass to zpool_vdev_attach(). While adding
395 * the entire vdev structure is harmless, we construct a reduced set of
456 * Utility functions to find a vdev matching given criteria.
500 /* once a vdev was matched and processed there is nothing left to do */
564 * For each vdev in this pool, look for a match to apply dd_func
602 * (pool, vdev) pairs which correspond to that location.
648 * Matches: vdev's ZPOOL_CONFIG_PHYS_PATH or ZPOOL_CONFIG_DEVID
656 * Matches: vdev's ZPOOL_CONFIG_PHYS_PATH or ZPOOL_CONFIG_DEVID
712 zed_log_msg(LOG_INFO, "zfs_deliver_check: pool '%llu', vdev %llu",
798 * provided vdev guid when looking up a disk or partition, when the guid