#include <linux/device-mapper.h>
#include <linux/nfs_fs.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
#include "../pnfs.h"
#include "../netns.h"
Go to the source code of this file.
|
| ssize_t | bl_pipe_downcall (struct file *, const char __user *, size_t) |
| |
| void | bl_pipe_destroy_msg (struct rpc_pipe_msg *) |
| |
| int | nfs4_blkdev_put (struct block_device *bdev) |
| |
| struct pnfs_block_dev * | nfs4_blk_decode_device (struct nfs_server *server, struct pnfs_device *dev) |
| |
| int | nfs4_blk_process_layoutget (struct pnfs_layout_hdr *lo, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) |
| |
| void | bl_free_block_dev (struct pnfs_block_dev *bdev) |
| |
| struct pnfs_block_extent * | bl_find_get_extent (struct pnfs_block_layout *bl, sector_t isect, struct pnfs_block_extent **cow_read) |
| |
| int | bl_mark_sectors_init (struct pnfs_inval_markings *marks, sector_t offset, sector_t length) |
| |
| void | bl_put_extent (struct pnfs_block_extent *be) |
| |
| struct pnfs_block_extent * | bl_alloc_extent (void) |
| |
| int | bl_is_sector_init (struct pnfs_inval_markings *marks, sector_t isect) |
| |
| int | encode_pnfs_block_layoutupdate (struct pnfs_block_layout *bl, struct xdr_stream *xdr, const struct nfs4_layoutcommit_args *arg) |
| |
| void | clean_pnfs_block_layoutupdate (struct pnfs_block_layout *bl, const struct nfs4_layoutcommit_args *arg, int status) |
| |
| int | bl_add_merge_extent (struct pnfs_block_layout *bl, struct pnfs_block_extent *new) |
| |
| int | bl_mark_for_commit (struct pnfs_block_extent *be, sector_t offset, sector_t length, struct pnfs_block_short_extent *new) |
| |
| int | bl_push_one_short_extent (struct pnfs_inval_markings *marks) |
| |
| struct pnfs_block_short_extent * | bl_pop_one_short_extent (struct pnfs_inval_markings *marks) |
| |
| void | bl_free_short_extents (struct pnfs_inval_markings *marks, int num_to_free) |
| |
| #define BL_DEVICE_MOUNT 0x1 /* Mount--create devices*/ |
| #define BL_DEVICE_REQUEST_ERR 0x2 /* User level process fails */ |
| #define BL_DEVICE_REQUEST_INIT 0x0 /* Start request */ |
| #define BL_DEVICE_REQUEST_PROC 0x1 /* User level process succeeds */ |
| #define BL_DEVICE_UMOUNT 0x0 /* Umount--delete devices */ |
| #define MY_MAX_TAGS (15) /* tag bitnums used must be less than this */ |
- Enumerator:
| PNFS_BLOCK_READWRITE_DATA |
|
| PNFS_BLOCK_READ_DATA |
|
| PNFS_BLOCK_INVALID_DATA |
|
| PNFS_BLOCK_NONE_DATA |
|
Definition at line 58 of file blocklayout.h.
- Enumerator:
| RW_EXTENT |
|
| RO_EXTENT |
|
| EXTENT_LISTS |
|
Definition at line 118 of file blocklayout.h.
| void bl_pipe_destroy_msg |
( |
struct rpc_pipe_msg * |
| ) |
|