当前位置:网站首页>Page type
Page type
2022-07-05 06:38:00 【techtitan】
evictable
page dirty
clear_page_dirty_for_io In the actual file system, there are a lot of , But it is all to support some special features of these file systems , such as f2fs The garbage collection of .
mm/page-writeback.c 2228 Row or so , Found calling the actual file system writeback Before writing back , Will cancel the dirty bit of the file , So to the real write_back Before ,
Actually page Of dirty There are no more seats !
meanwhile ,write_one_page Function , Calling precious writeback The dirty bit of the page will also be removed before the function !
Call trace:
[<ffffffc00008960c>] dump_backtrace+0x0/0x12c
[<ffffffc000089748>] show_stack+0x10/0x1c
[<ffffffc00034d97c>] do_write_data_page+0xa8/0x77c
[<ffffffc00034e44c>] f2fs_write_data_page+0x3fc/0x5dc
[<ffffffc00034761c>] __f2fs_writepage+0x18/0x60
[<ffffffc000180d70>] write_cache_pages+0x1f0/0x5b4 In this function page Of dirty sign PG_dirty eliminate . Then enter write back The process , Set before writing write back sign , And in bio After that , stay bio In the callback function of writeback The flag bit is cleared .
[<ffffffc000348cbc>] f2fs_write_data_pages+0xf8/0x370
[<ffffffc000181bd4>] do_writepages+0x20/0x44
[<ffffffc000204e20>] __writeback_single_inode+0xac/0xbb0
[<ffffffc000205ba4>] writeback_sb_inodes+0x280/0x518
[<ffffffc000205ed4>] __writeback_inodes_wb+0x98/0xe0
[<ffffffc0002061d0>] wb_writeback+0x2b4/0x73c
[<ffffffc0002076c4>] wb_workfn+0x3d8/0x98c
[<ffffffc0000b505c>] process_one_work+0x218/0x7ec
[<ffffffc0000b5764>] worker_thread+0x134/0x458
[<ffffffc0000bc010>] kthread+0xd4/0xec
Reference material :
https://www.cnblogs.com/honpey/p/4926605.html
page writeback
边栏推荐
- [2020]GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
- [Gaode map POI stepping pit] amap Placesearch cannot be used
- Install opencv -- CONDA to establish a virtual environment and add the kernel of this environment in jupyter
- Game theory acwing 892 Steps Nim game
- how to understand the “model independent.“
- Rehabilitation type force deduction brush question notes D3
- 2022-5-the fourth week daily
- H5 模块悬浮拖动效果
- PR automatically moves forward after deleting clips
- Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
猜你喜欢
数据库Mysql全部
[algorithm post interview] interview questions of a small factory
高斯消元 AcWing 884. 高斯消元解异或線性方程組
Vant weapp swippecell set multiple buttons
Stack acwing 3302 Expression evaluation
Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a
Speedtree01 generator properties
vsCode创建自己的代码模板
背包问题 AcWing 9. 分组背包问题
Redis-01.初识Redis
随机推荐
[2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian
Paper reading report
Using handler in a new thread
高斯消元 AcWing 884. 高斯消元解异或線性方程組
6-4 search by serial number of linked list
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
How to generate an image from text on fly at runtime
Chinese remainder theorem acwing 204 Strange way of expressing integers
微信小程序路由再次跳轉不觸發onload
__ builtin_ Popcount() counts the number of 1s, which are commonly used in bit operations
[learning] database: several cases of index failure
Modnet matting model reproduction
Chart. JS - Format Y axis - chart js - Formatting Y axis
20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore
【高德地图POI踩坑】AMap.PlaceSearch无法使用
Record the process of configuring nccl and horovod in these two days (original)
What's wrong with this paragraph that doesn't work? (unresolved)
求组合数 AcWing 888. 求组合数 IV
C job interview - casting and comparing - C job interview - casting and comparing
RecyclerView的应用