Function report |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-28 05:46:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_max_discard_segments
Proto:static inline unsigned short queue_max_discard_segments(const struct request_queue *q)
Type:unsigned short
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct request_queue * | q |
| 1286 | Return max_discard_segments |
| Name | Describe |
|---|---|
| bio_attempt_discard_merge | |
| queue_max_discard_segments_show | |
| req_attempt_discard_merge | |
| blk_discard_mergable | Two cases of handling DISCARD merge:* If max_discard_segments > 1, the driver takes every bio* as a range and send them to controller together. The ranges* needn't to be contiguous.* Otherwise, the bios/requests will be handled as same as |
| 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 |