Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:05:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split*@nr_segs: [out] number of segments in the first bio* Split a bio into two bios, chain the two bios, submit the second half and
Proto:void __blk_queue_split(struct request_queue *q, struct bio **bio, unsigned int *nr_segs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct bio ** | bio | |
unsigned int * | nr_segs |
303 | Case bio_op( * bio) == REQ_OP_DISCARD |
304 | Case bio_op( * bio) == REQ_OP_SECURE_ERASE |
307 | Case bio_op( * bio) == REQ_OP_WRITE_ZEROES |
311 | Case bio_op( * bio) == REQ_OP_WRITE_SAME |
315 | Default |
324 | If Not chunk_sectors && how many bio_vec's == 1 && bv_len + bv_offset <= PAGE_SIZE Then |
328 | nr_segs = 1 |
329 | Break |
332 | Break |
335 | If split Then |
347 | bio_set_flag( * bio, BIO_QUEUE_ENTERED) |
Name | Describe |
---|---|
blk_queue_split | lk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split* Split a bio into two bios, chains the two bios, submit the second half and* store a pointer to the first half in *@bio |
blk_mq_make_request |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |