]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: deprecate the V4 format
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 Sep 2020 17:57:17 +0000 (10:57 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:43 +0000 (20:52 -0700)
commit57083b207fee948ef322634123efc8e719b968ab
tree7f686890071d175b91ad07346ef4df85de9a0494
parent385a770104dfd523ef164029b55a195c288b7558
xfs: deprecate the V4 format

The V4 filesystem format contains known weaknesses in the on-disk format
that make metadata verification diffiult.  In addition, the format does
not support dates past 2038 and will not be upgraded to do so.  We
should start the process of retiring the old format to close off attack
surfaces and to encourage users to migrate onto V5.

Therefore, make XFS V4 support a configurable option.  For the first
period it will be default Y in case some distributors want to withdraw
support early; for the second period it will be default N so that anyone
who wishes to continue support can do so; and after that, support will
be removed from the kernel.  Dates for these events have been added to
the upstream kernel.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Documentation/admin-guide/xfs.rst
fs/xfs/Kconfig
fs/xfs/xfs_super.c