Function report | 
Source Code:include\linux\blkdev.h | 
Create Date:2022-07-28 05:46:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Number of discard segments (or ranges) the driver needs to fill in.* Each discard bio merged into a request is counted as one segment.
Proto:static inline unsigned short blk_rq_nr_discard_segments(struct request *rq)
Type:unsigned short
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request * | rq | 
| Name | Describe | 
|---|---|
| bio_attempt_discard_merge | |
| req_attempt_discard_merge | 
| 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  |