Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 17, 2010
  1. @behlendorf
  2. @behlendorf
  3. @behlendorf
  4. @behlendorf
  5. @behlendorf

    Export dmu_objset_register_type() function

    Zhiyong Landen tian authored behlendorf committed
    The dmu_objset_register_type() function is required by the Lustre
    quota code in order to inform the DMU of the uid/gid of a given
    object for the purposes of space accounting.
    
    Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
    Signed-off-by: Ricardo M. Correia <ricardo.correia@oracle.com>
  6. @behlendorf
  7. @behlendorf
  8. @behlendorf
  9. @behlendorf
  10. @behlendorf

    Support udev shorthand paths

    behlendorf authored
    The Solaris code allows shorthand paths by checking for the short
    name in /dev/dsk/.  For Linux we extend this shorthand syntax to
    be udev aware.  This commit now additionally checks for the short
    name in /dev/, /dev/disk/by-id, /dev/disk/by-label, /dev/disk/by-path,
    /dev/disk/by-uuid, and /dev/disk/zpool/.  If the short name is found
    in any of these places the path is fully expanded and used.  This
    may allow for the simpler creation of pools:
    
      # Using /dev/disk/by-id/ short names
      zpool crete tank raidz ata-Maxtor_7Y250M0_Y638DK2E \
          ata-Maxtor_7Y250M0_Y638PBNE ata-Maxtor_7Y250M0_Y638PBZE
    
      # Using /dev/disk/zpool/ short names
      zpool create tank raidz2 A1 A2 A3 A4 mirror B1 B2 B3 B4
    
      # Using full path names
      zpool create tank raidz2 /dev/sd[ah]
  11. @behlendorf
  12. @behlendorf
  13. @behlendorf
  14. @behlendorf
  15. @behlendorf
  16. @behlendorf
  17. @behlendorf
  18. @behlendorf
  19. @behlendorf
  20. @behlendorf
  21. @behlendorf
  22. @behlendorf
  23. @behlendorf
  24. @behlendorf
  25. @behlendorf
  26. @behlendorf
  27. @behlendorf
  28. @behlendorf
  29. @behlendorf
  30. @behlendorf
  31. @behlendorf
  32. @behlendorf
  33. @behlendorf
  34. @behlendorf
  35. @behlendorf
Something went wrong with that request. Please try again.