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

#include <linux/rbtree.h>

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

struct bio;

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

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

#endif