Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7a3cdc64
Commit
7a3cdc64
authored
May 26, 2003
by
Neil Brown
Committed by
Linus Torvalds
May 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] md: Export bio_split_pool for md to use.
parent
a9be82a1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
fs/bio.c
fs/bio.c
+2
-1
include/linux/bio.h
include/linux/bio.h
+1
-0
No files found.
fs/bio.c
View file @
7a3cdc64
...
@@ -38,7 +38,7 @@ static kmem_cache_t *bio_slab;
...
@@ -38,7 +38,7 @@ static kmem_cache_t *bio_slab;
* basically we just need to survive
* basically we just need to survive
*/
*/
#define BIO_SPLIT_ENTRIES 8
#define BIO_SPLIT_ENTRIES 8
static
mempool_t
*
bio_split_pool
;
mempool_t
*
bio_split_pool
;
struct
biovec_pool
{
struct
biovec_pool
{
int
nr_vecs
;
int
nr_vecs
;
...
@@ -916,3 +916,4 @@ EXPORT_SYMBOL(bio_map_user);
...
@@ -916,3 +916,4 @@ EXPORT_SYMBOL(bio_map_user);
EXPORT_SYMBOL
(
bio_unmap_user
);
EXPORT_SYMBOL
(
bio_unmap_user
);
EXPORT_SYMBOL
(
bio_pair_release
);
EXPORT_SYMBOL
(
bio_pair_release
);
EXPORT_SYMBOL
(
bio_split
);
EXPORT_SYMBOL
(
bio_split
);
EXPORT_SYMBOL
(
bio_split_pool
);
include/linux/bio.h
View file @
7a3cdc64
...
@@ -222,6 +222,7 @@ struct bio_pair {
...
@@ -222,6 +222,7 @@ struct bio_pair {
};
};
extern
struct
bio_pair
*
bio_split
(
struct
bio
*
bi
,
mempool_t
*
pool
,
extern
struct
bio_pair
*
bio_split
(
struct
bio
*
bi
,
mempool_t
*
pool
,
int
first_sectors
);
int
first_sectors
);
extern
mempool_t
*
bio_split_pool
;
extern
void
bio_pair_release
(
struct
bio_pair
*
dbio
);
extern
void
bio_pair_release
(
struct
bio_pair
*
dbio
);
extern
struct
bio
*
bio_alloc
(
int
,
int
);
extern
struct
bio
*
bio_alloc
(
int
,
int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment