diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:29:23 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:29:23 +1100 |
commit | 30c4fbf7e3977ec8c2966a633cd281b44e3a63fd (patch) | |
tree | b8d7dc9ac82e3f179d886311a6b73c9c5c52c35d /include/linux/batch_complete.h | |
parent | 725a7c316ea0d1329b630e31f82d0a2e762e0a65 (diff) | |
parent | df2363d9ad7ffd43b5e86604c7a28f4adc6bd75e (diff) |
Merge branch 'akpm/master'
Diffstat (limited to 'include/linux/batch_complete.h')
-rw-r--r-- | include/linux/batch_complete.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/batch_complete.h b/include/linux/batch_complete.h new file mode 100644 index 000000000000..8167a9d306fb --- /dev/null +++ b/include/linux/batch_complete.h @@ -0,0 +1,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 |