当前位置:网站首页>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
边栏推荐
- How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
- 时间很快,请多做有意义的事情
- our solution
- [2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian
- 2.Oracle-数据文件的添加及管理
- Dataframe (1): introduction and creation of dataframe
- Financial risk control practice -- feature derivation based on time series
- Record the process of configuring nccl and horovod in these two days (original)
- [wustctf2020] plain_ WP
- 7. Oracle table structure
猜你喜欢

20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore

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

The “mode“ argument must be integer. Received an instance of Object

Database mysql all
![LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation](/img/1f/30407bce35c324cc90f139b6f09fd1.jpg)
LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation

Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022

P2575 master fight

Day 2 document

博弈论 AcWing 893. 集合-Nim游戏

how to understand the “model independent.“
随机推荐
中国剩余定理 AcWing 204. 表达整数的奇怪方式
confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
Mutual transformation between two-dimensional array and sparse array (sparse matrix)
LeetCode-61
[moviepy] unable to find a solution for exe
Stack acwing 3302 Expression evaluation
4. Oracle redo log file management
LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation
H5内嵌App适配暗黑模式
Database mysql all
Time is fast, please do more meaningful things
Rehabilitation type force deduction brush question notes D3
How to generate an image from text on fly at runtime
Presentation of attribute value of an item
[2021]GIRAFFE: Representing Scenes as Compositional Generative Neural Feature Fields
International Open Source firmware Foundation (osff) organization
C job interview - casting and comparing - C job interview - casting and comparing
NVM Downloading npm version 6.7.0... Error
博弈论 AcWing 892. 台阶-Nim游戏
Paper reading report