grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2.06 RELEASE PATCH v2 0/4] Add XFS bigtime and needsrepair support


From: Javier Martinez Canillas
Subject: [2.06 RELEASE PATCH v2 0/4] Add XFS bigtime and needsrepair support
Date: Wed, 12 May 2021 17:46:12 +0200

Hello,

This series contains patches to support incompat feature flags that were
recently added to the XFS filesystem. This is needed because GRUB checks
if the super block .sb_features_incompat field contains incompat feature
flags that are not supported, and if that's the case it considers the SB
invalid and fails to read any data.

Since having a XFS filesystem with the bigtime or needsrepair flag would
lead to GRUB failing to access it, and due the fact that some distros are
going to turn them on by default (i.e: in the mkfs.xfs tool) I think that
these are 2.06 material.

This series is v2 of a collection of patches posted before separately to
the mailing list. It addresses the issues pointed out by Daniel on v1.

Best regards,
Javier

Changes in v2:
- Improve commit message for patch #2  (dkiper).
- Drop Reviewed-by tag from patch #2 (dkiper).
- A few code cleanups for patch #2 (dkiper).
- Improve the commit message of patch #3 (dkiper).
- Drop Reviewed-by tag from patch #3 (dkiper).
_ Drop unrelated changes in patch #3 (dkiper).
- Improve commit message of patch #4 (dkiper).
- Fix typo in debug message of patch #4 (dkiper).

Carlos Maiolino (2):
  fs: Use 64-bit type for filesystem timestamp
  fs/xfs: Add bigtime incompat feature support

Javier Martinez Canillas (2):
  types: Define PRI{x,d}GRUB_INT{32,64}_T format specifiers
  fs/xfs: Add needsrepair incompat feature support

 grub-core/fs/affs.c          |  2 +-
 grub-core/fs/ext2.c          |  2 +-
 grub-core/fs/fat.c           |  4 +-
 grub-core/fs/hfs.c           |  2 +-
 grub-core/fs/hfsplus.c       |  2 +-
 grub-core/fs/iso9660.c       |  6 +--
 grub-core/fs/nilfs2.c        |  2 +-
 grub-core/fs/squash4.c       |  2 +-
 grub-core/fs/ufs.c           |  2 +-
 grub-core/fs/xfs.c           | 78 ++++++++++++++++++++++++++++++------
 grub-core/fs/zfs/zfs.c       |  2 +-
 grub-core/lib/datetime.c     | 14 +++++--
 grub-core/net/bootp.c        |  2 +-
 grub-core/normal/misc.c      |  2 +-
 grub-core/tests/sleep_test.c |  4 +-
 include/grub/datetime.h      |  4 +-
 include/grub/fs.h            |  4 +-
 include/grub/types.h         |  6 +++
 18 files changed, 104 insertions(+), 36 deletions(-)

-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]