mirror_zfs/lib/libspl/include
Don Brady 39fc0cb557 Add support for devid and phys_path keys in vdev disk labels
This is foundational work for ZED.

Updates a leaf vdev's persistent device strings on Linux platform

* only applies for a dedicated leaf vdev (aka whole disk)
* updated during pool create|add|attach|import
* used for matching device matching during auto-{online,expand,replace}
* stored in a leaf disk config label (i.e. alongside 'path' NVP)
* can opt-out using env var ZFS_VDEV_DEVID_OPT_OUT=YES

Some examples:

    path: '/dev/sdb1'
    devid: 'scsi-350000394a8ca4fbc-part1'
    phys_path: 'pci-0000:04:00.0-sas-0x50000394a8ca4fbf-lun-0'

    path: '/dev/mapper/mpatha'
    devid: 'dm-uuid-mpath-35000c5006304de3f'

Signed-off-by: Don Brady <don.brady@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2856
Closes #3978
Closes #4416
2016-03-31 13:45:53 -07:00
..
ia32 Remove autotools products 2012-08-27 11:47:44 -07:00
rpc cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
sys Move hrtime_t timestruc_t and timespec_t 2016-03-29 18:33:17 -07:00
util cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
assert.h Remove complicated libspl assert wrappers 2016-03-30 12:26:42 -07:00
atomic.h Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
attr.h Add linux libspl support 2010-08-31 13:41:59 -07:00
devid.h Add support for devid and phys_path keys in vdev disk labels 2016-03-31 13:45:53 -07:00
libdevinfo.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libgen.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libshare.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
locale.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Fix implicit declaration of 'mkdirp' 2011-07-01 13:39:47 -07:00
note.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
priv.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdlib.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
string.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
strings.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
synch.h libspl: Implement LWP rwlock interface 2014-05-01 15:53:52 -07:00
thread.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
tzfile.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
ucred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
umem.h Illumos 5163 - arc should reap range_seg_cache 2015-06-25 08:58:16 -07:00
unistd.h Retire HAVE_IOCTL_* configure checks 2014-08-28 07:45:54 -07:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00