Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:12 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This allows us to do IO even on the odd last sectors* of a device, even if the block size is some multiple* of the physical sector size
Proto:void guard_bio_eod(struct bio *bio)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bio * | bio |
| 3040 | part = __disk_get_part(bi_disk, bi_partno) |
| 3041 | If part Then maxsector = Any access of part->nr_sects which is not protected by partition* bd_mutex or gendisk bdev bd_mutex, should be done using this* accessor function |
| 3043 | Else maxsector = get_capacity(bi_disk) |
| 3047 | If Not maxsector Then Return |
| 3055 | If Value for the false possibility is greater at compile time(bi_sector >= maxsector) Then Return |
| 3059 | If Value is more likely to compile time(( residual I/O count >> 9) <= maxsector) Then Return |
| 3062 | bio_truncate(bio, maxsector << 9) |
| Name | Describe |
|---|---|
| submit_bh_wbc | |
| mpage_bio_submit |
| 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 |