Home > News content

Linux 5.10 optimizes XFS system to fix "year 2038" problem

via:博客园     time:2020/10/19 18:39:36     readed:1191

In addition to the significant optimization of Btrfs, Linux kernel 5.10, which is under development, has also greatly improved the XFS file system. In Linux 5.10, XFS file system supports two new on disk meta data functions, including

1. The size of inode Btrees is now recorded in the allocation group.

This is done to increase redundancy checks and allow faster installation times.

2. Up to 2486 timestamps are now supported.

This one

Now, this allows XFS to overcome the problem of 2038 (where the time stored in seconds since 1970 will no longer fit for signed 32-bit integers and therefore cannot be wrapped) to 2486 years now.

Create a new XFS file system using the following command: enable bigtime and allow the timestamp range from December 1901 to July 2486, not December 1901 to January 2038. For backward compatibility, big timestamps is not currently enabled by default.


In addition to metadata changes on the disk, XFS in Linux 5.10 also solves the problem of synchronous writes not actually flushing to disk and other fixes in some cases. This pull request allows you to find the initial XFS changes for Linux 5.10. It is expected that in the next few days of the Linux 5.10 merge window, there will be secondary requests for XFS scalability improvements and other changes.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments