summaryrefslogtreecommitdiff
path: root/include/linux/batch_complete.h
blob: 298baeb9723bab2313934888bf5f73dc5e837ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _LINUX_BATCH_COMPLETE_H
#define _LINUX_BATCH_COMPLETE_H

/*
 * Common stuff to the aio and block code for batch completion. Everything
 * important is elsewhere:
 */

struct bio;
struct kiocb;

struct bio_list {
	struct bio *head;
	struct bio *tail;
};

struct batch_complete {
	struct bio_list		bio;
	struct kiocb		*kiocb;
};

#endif