Print this page
expandable RAID-Z

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/vdev_file.c
          +++ new/usr/src/uts/common/fs/zfs/vdev_file.c
↓ open down ↓ 308 lines elided ↑ open up ↑
 309  309  }
 310  310  
 311  311  vdev_ops_t vdev_file_ops = {
 312  312          vdev_file_open,
 313  313          vdev_file_close,
 314  314          vdev_file_probe,
 315  315          vdev_default_asize,
 316  316          vdev_file_io_start,
 317  317          vdev_file_io_done,
 318  318          NULL,
      319 +        NULL,
 319  320          VDEV_TYPE_FILE,         /* name of this vdev type */
 320  321          B_TRUE                  /* leaf vdev */
 321  322  };
 322  323  
 323  324  /*
 324  325   * From userland we access disks just like files.
 325  326   */
 326  327  #ifndef _KERNEL
 327  328  
 328  329  vdev_ops_t vdev_disk_ops = {
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX