Since the pages are stored in address_space within each inode, how does the background page cache flush thread know all dirty pages?
Since the pages are stored in address_space within each inode, how does the background
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They’re all in one place:
b_dirtyis the list you’re looking for.For some information on how the flushing happens, take a look in here. The code is kind of complex though. To summarize (alot), consider that in the default configuration data written to disk will sit in memory until either a) they’re more than 30 seconds old, or b) the dirty pages have consumed more than 10% of the active, working memory.