Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273787
b: refs/heads/master
c: c20e8de
h: refs/heads/master
i:
  273785: 987d313
  273783: 971bcb6
v: v3
  • Loading branch information
Jens Axboe committed Sep 12, 2011
1 parent 988b4b4 commit fe9cd74
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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: 166e1f901b01872e8b70733a3f2e2c6980389cf8
refs/heads/master: c20e8de27fef9f59869c81c288ad6cf28200e00c
6 changes: 3 additions & 3 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ blk_init_allocated_queue_node(struct request_queue *q, request_fn_proc *rfn,
/*
* This also sets hw/phys segments, boundary and size
*/
blk_queue_make_request(q, __make_request);
blk_queue_make_request(q, blk_queue_bio);

q->sg_reserved_size = INT_MAX;

Expand Down Expand Up @@ -1211,7 +1211,7 @@ void init_request_from_bio(struct request *req, struct bio *bio)
blk_rq_bio_prep(req->q, req, bio);
}

int __make_request(struct request_queue *q, struct bio *bio)
int blk_queue_bio(struct request_queue *q, struct bio *bio)
{
const bool sync = !!(bio->bi_rw & REQ_SYNC);
struct blk_plug *plug;
Expand Down Expand Up @@ -1315,7 +1315,7 @@ int __make_request(struct request_queue *q, struct bio *bio)
out:
return 0;
}
EXPORT_SYMBOL_GPL(__make_request); /* for device mapper only */
EXPORT_SYMBOL_GPL(blk_queue_bio); /* for device mapper only */

/*
* If bio->bi_dev is a partition, remap the location
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ static int dm_request(struct request_queue *q, struct bio *bio)
struct mapped_device *md = q->queuedata;

if (dm_request_based(md))
return __make_request(q, bio);
return blk_queue_bio(q, bio);

return _dm_request(q, bio);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ extern int scsi_cmd_ioctl(struct request_queue *, struct gendisk *, fmode_t,
extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,
struct scsi_ioctl_command __user *);

extern int __make_request(struct request_queue *q, struct bio *bio);
extern int blk_queue_bio(struct request_queue *q, struct bio *bio);

/*
* A queue has just exitted congestion. Note this in the global counter of
Expand Down

0 comments on commit fe9cd74

Please sign in to comment.