FreeBSD ZFS
The Zettabyte File System
|
Virtual device vector for files. More...
#include <sys/zfs_context.h>
#include <sys/spa.h>
#include <sys/vdev_file.h>
#include <sys/vdev_impl.h>
#include <sys/zio.h>
#include <sys/fs/zfs.h>
#include <sys/fm/fs/zfs.h>
Go to the source code of this file.
Functions | |
static void | vdev_file_hold (vdev_t *vd) |
static void | vdev_file_rele (vdev_t *vd) |
static int | vdev_file_open (vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) |
static void | vdev_file_close (vdev_t *vd) |
static int | vdev_file_io_start (zio_t *zio) |
static void | vdev_file_io_done (zio_t *zio) |
Variables | |
vdev_ops_t | vdev_file_ops |
Virtual device vector for files.
Definition in file vdev_file.c.
static void vdev_file_close | ( | vdev_t * | vd | ) | [static] |
Definition at line 136 of file vdev_file.c.
static void vdev_file_hold | ( | vdev_t * | vd | ) | [static] |
Definition at line 40 of file vdev_file.c.
static void vdev_file_io_done | ( | zio_t * | zio | ) | [static] |
Definition at line 196 of file vdev_file.c.
static int vdev_file_io_start | ( | zio_t * | zio | ) | [static] |
Definition at line 154 of file vdev_file.c.
static int vdev_file_open | ( | vdev_t * | vd, |
uint64_t * | psize, | ||
uint64_t * | max_psize, | ||
uint64_t * | ashift | ||
) | [static] |
Definition at line 52 of file vdev_file.c.
static void vdev_file_rele | ( | vdev_t * | vd | ) | [static] |
Definition at line 46 of file vdev_file.c.
{ vdev_file_open, vdev_file_close, vdev_default_asize, vdev_file_io_start, vdev_file_io_done, NULL, vdev_file_hold, vdev_file_rele, VDEV_TYPE_FILE, B_TRUE }
Definition at line 200 of file vdev_file.c.