Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140180
b: refs/heads/master
c: 8a53c28
h: refs/heads/master
v: v3
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Apr 2, 2009
1 parent 04c36c2 commit f10d895
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53d5914f288b67ddc4d594d6a09568fe114bb909
refs/heads/master: 8a53c28db42853591edbe8103e2ce3c4f2917f42
8 changes: 4 additions & 4 deletions trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,9 +826,9 @@ static int __clone_and_map(struct clone_info *ci)
}

/*
* Split the bio into several clones.
* Split the bio into several clones and submit it to targets.
*/
static int __split_bio(struct mapped_device *md, struct bio *bio)
static int __split_and_process_bio(struct mapped_device *md, struct bio *bio)
{
struct clone_info ci;
int error = 0;
Expand Down Expand Up @@ -951,7 +951,7 @@ static int dm_request(struct request_queue *q, struct bio *bio)
down_read(&md->io_lock);
}

r = __split_bio(md, bio);
r = __split_and_process_bio(md, bio);
up_read(&md->io_lock);

out_req:
Expand Down Expand Up @@ -1405,7 +1405,7 @@ static void __flush_deferred_io(struct mapped_device *md)
struct bio *c;

while ((c = bio_list_pop(&md->deferred))) {
if (__split_bio(md, c))
if (__split_and_process_bio(md, c))
bio_io_error(c);
}

Expand Down

0 comments on commit f10d895

Please sign in to comment.