#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/pagemap.h>
#include <linux/task_io_accounting_ops.h>
#include <linux/bio.h>
#include <linux/wait.h>
#include <linux/err.h>
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/rwsem.h>
#include <linux/uio.h>
#include <linux/atomic.h>
#include <linux/prefetch.h>
Go to the source code of this file.
|
void | dio_end_io (struct bio *bio, int error) |
|
| EXPORT_SYMBOL_GPL (dio_end_io) |
|
ssize_t | __blockdev_direct_IO (int rw, struct kiocb *iocb, struct inode *inode, struct block_device *bdev, const struct iovec *iov, loff_t offset, unsigned long nr_segs, get_block_t get_block, dio_iodone_t end_io, dio_submit_t submit_io, int flags) |
|
| EXPORT_SYMBOL (__blockdev_direct_IO) |
|
ssize_t __blockdev_direct_IO |
( |
int |
rw, |
|
|
struct kiocb * |
iocb, |
|
|
struct inode * |
inode, |
|
|
struct block_device * |
bdev, |
|
|
const struct iovec * |
iov, |
|
|
loff_t |
offset, |
|
|
unsigned long |
nr_segs, |
|
|
get_block_t |
get_block, |
|
|
dio_iodone_t |
end_io, |
|
|
dio_submit_t |
submit_io, |
|
|
int |
flags |
|
) |
| |
dio_end_io - handle the end io action for the given bio : The direct io bio thats being completed : Error if there was one
This is meant to be called by any filesystem that uses their own dio_submit_t so that the DIO specific endio actions are dealt with after the filesystem has done it's completion work.
Definition at line 326 of file direct-io.c.