FreeBSD ZFS
The Zettabyte File System
Functions | Variables

vdev_file.c File Reference

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>
Include dependency graph for vdev_file.c:

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

Detailed Description

Virtual device vector for files.

Definition in file vdev_file.c.


Function Documentation

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.


Variable Documentation

Initial value:

Definition at line 200 of file vdev_file.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines