In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the example analysis of Linus warning not to use Linux Kernel 5.12-rc1, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Linux Kernel finally released the 5.12-rc1 version after several twists and turns last week, but the day after the release, Linus immediately sent a warning email to the kernel mailing list telling people not to use the latest 5.12-rc1 kernel (especially users running with swap files) and asking maintainers not to branch from 5.12-rc1 so as not to bring problems to future versions.
Before the email was sent, Linus had renamed the "v5.12-rc1" tag in the public git tree to "v5.12-rc1-dontuse" to remind users not to use it. According to Linus, the 5.12-rc1 version of the kernel severely destroys the processing of swap files (swapfile), causing the file system to be overwritten by randomly exchanged data, as well as large chunks of metadata. Corruption of metadata can make the entire file system unmountable and unusable.
The cause of this problem is that the read / write offset (swapfile read/write offset) of the swap file is mishandled, and the updated v5.12-rc1 code loses the appropriate offset to the beginning of the swap file, and although the exchange still takes place, it occurs where the file system should not have been swapped, with disastrous consequences.
After locating the problem, the kernel developer quickly fixed it, and the next day Linus released a Linux Kernel 5.12-rc2 to fix the problem.
At present, it is safe to use v5.12-rc2.
After reading the above, do you have any further understanding of the example analysis in which Linus issued a warning not to use Linux Kernel 5.12-rc1? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.