当前位置:网站首页>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
边栏推荐
- 高斯消元 AcWing 884. 高斯消元解异或線性方程組
- 3.Oracle-控制文件的管理
- 代码中的英语全部
- 4. Oracle redo log file management
- 时间很快,请多做有意义的事情
- Gaussian elimination acwing 884 Gauss elimination for solving XOR linear equations
- The route of wechat applet jumps again without triggering onload
- RecyclerView的应用
- Bit of MySQL_ OR、BIT_ Count function
- Inclusion exclusion principle acwing 890 Divisible number
猜你喜欢

MPLS experiment

What is socket? Basic introduction to socket

栈 AcWing 3302. 表达式求值

代码中的英语全部

Bit of MySQL_ OR、BIT_ Count function

3. Oracle control file management

Configuration method and configuration file of SolidWorks GB profile library

SolidWorks template and design library are convenient for designers to call

Vant weapp swippecell set multiple buttons

Positive height system
随机推荐
[QT] QT multithreading development qthread
Presentation of attribute value of an item
[learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
PR automatically moves forward after deleting clips
Get class files and attributes by reflection
All English in the code
Record of problems in ollvm compilation
MySQL (UDF authorization)
MQClientException: No route info of this topic: type_ topic
达梦数据库全部
中国剩余定理 AcWing 204. 表达整数的奇怪方式
区间问题 AcWing 906. 区间分组
5.Oracle-錶空間
RecyclerView的应用
June 29, 2022 daily
Dataframe (1): introduction and creation of dataframe
7. Oracle table structure
论文阅读报告
Some classic recursion problems
C - XOR to all (binary topic)