Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
blk-softirq.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/interrupt.h>
#include <linux/cpu.h>
#include <linux/sched.h>
#include "blk.h"

Go to the source code of this file.

Functions

void __blk_complete_request (struct request *req)
 
void blk_complete_request (struct request *req)
 
 EXPORT_SYMBOL (blk_complete_request)
 
 subsys_initcall (blk_softirq_init)
 

Function Documentation

void __blk_complete_request ( struct request req)

Definition at line 105 of file blk-softirq.c.

void blk_complete_request ( struct request req)

blk_complete_request - end I/O on a request : the request being processed

Description: Ends all I/O on a request. It does not handle partial completions, unless the driver actually implements this in its completion callback through requeueing. The actual completion happens out-of-order, through a softirq handler. The user must have registered a completion callback through blk_queue_softirq_done().

Definition at line 166 of file blk-softirq.c.

EXPORT_SYMBOL ( blk_complete_request  )
subsys_initcall ( blk_softirq_init  )