1. 01 2月, 2008 1 次提交
  2. 28 1月, 2008 1 次提交
  3. 24 10月, 2007 1 次提交
  4. 23 10月, 2007 1 次提交
  5. 27 8月, 2007 1 次提交
    • D
      [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK. · 1bd4b280
      David S. Miller 提交于
      While debugging issues with the VDS server I made the
      driver use partition 2 to get at the whole disk since
      this is the "whole disk" partition in the Sun disk
      label.
      
      We really should use slice 0xff which really means
      the whole physical disk in the VIO disk protocol.
      Otherwise things won't work well on a disk image
      that doesn't have a proper disk label on it.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1bd4b280
  6. 24 7月, 2007 1 次提交
  7. 20 7月, 2007 2 次提交
  8. 18 7月, 2007 1 次提交
  9. 16 7月, 2007 2 次提交
    • D
      [SPARC64]: Abstract out mdesc accesses for better MD update handling. · 43fdf274
      David S. Miller 提交于
      Since we have to be able to handle MD updates, having an in-tree
      set of data structures representing the MD objects actually makes
      things more painful.
      
      The MD itself is easy to parse, and we can implement the existing
      interfaces using direct parsing of the MD binary image.
      
      The MD is now reference counted, so accesses have to now take the
      form:
      
      	handle = mdesc_grab();
      
      	... operations on MD ...
      
      	mdesc_release(handle);
      
      The only remaining issue are cases where code holds on to references
      to MD property values.  mdesc_get_property() returns a direct pointer
      to the property value, most cases just pull in the information they
      need and discard the pointer, but there are few that use the pointer
      directly over a long lifetime.  Those will be fixed up in a subsequent
      changeset.
      
      A preliminary handler for MD update events from domain services is
      there, it is rudimentry but it works and handles all of the reference
      counting.  It does not check the generation number of the MDs,
      and it does not generate a "add/delete" list for notification to
      interesting parties about MD changes but that will be forthcoming.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      43fdf274
    • D
      667ef3c3