Print this page
3956 ::vdev -r should work with pipelines
3957 ztest should update the cachefile before killing itself
3958 multiple scans can lead to partial resilvering
3959 ddt entries are not always resilvered
3960 dsl_scan can skip over dedup-ed blocks if physical birth != logical birth
3961 freed gang blocks are not resilvered and can cause pool to suspend
3962 ztest should print out zfs debug buffer before exiting
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/modules/zfs/zfs.c
          +++ new/usr/src/cmd/mdb/common/modules/zfs/zfs.c
↓ open down ↓ 1132 lines elided ↑ open up ↑
1133 1133          int c, children;
1134 1134          uintptr_t *child;
1135 1135          const char *state, *aux;
1136 1136  
1137 1137          if (mdb_vread(&vdev, sizeof (vdev), (uintptr_t)addr) == -1) {
1138 1138                  mdb_warn("failed to read vdev_t at %p\n", (uintptr_t)addr);
1139 1139                  return (DCMD_ERR);
1140 1140          }
1141 1141  
1142 1142          if (flags & DCMD_PIPE_OUT) {
1143      -                mdb_printf("%#lr", addr);
     1143 +                mdb_printf("%#lr\n", addr);
1144 1144          } else {
1145 1145                  if (vdev.vdev_path != NULL) {
1146 1146                          if (mdb_readstr(desc, sizeof (desc),
1147 1147                              (uintptr_t)vdev.vdev_path) == -1) {
1148 1148                                  mdb_warn("failed to read vdev_path at %p\n",
1149 1149                                      vdev.vdev_path);
1150 1150                                  return (DCMD_ERR);
1151 1151                          }
1152 1152                  } else if (vdev.vdev_ops != NULL) {
1153 1153                          vdev_ops_t ops;
↓ open down ↓ 1978 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX