Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1llEYy-00008x-JB for mharc-grub-devel@gnu.org; Mon, 24 May 2021 13:40:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llEYx-00004t-9J for grub-devel@gnu.org; Mon, 24 May 2021 13:40:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:25294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llEYt-0004Wp-8f for grub-devel@gnu.org; Mon, 24 May 2021 13:40:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621878018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eOiE/liXlsDUED9LjyfrC22y5u5C5KsEg6cypeT4DEU=; b=Wui/BOGppU6nRpDorcYrvO5Z5yi856StWnKqI0NzXwYWTf2OP9dKSa+GDq+Auqauta1HVh BRqkrXNbwgJayvk2Z6W6b9/5PDBKvPcw/XljFeR2CR2eeqJY4UtOWbhBxlzF5tCaQYmWM2 Fmn5FOL7R94fc3is8enyuQhNoLZIwwU= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-518-jPkldtzvMlOVepZuObFhQQ-1; Mon, 24 May 2021 13:40:16 -0400 X-MC-Unique: jPkldtzvMlOVepZuObFhQQ-1 Received: by mail-wr1-f71.google.com with SMTP id d12-20020adfc3cc0000b029011166e2f1a7so12376298wrg.19 for ; Mon, 24 May 2021 10:40:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eOiE/liXlsDUED9LjyfrC22y5u5C5KsEg6cypeT4DEU=; b=YqM2w/xA2j3kdvqKY51zUxf71ccw5KptA56/LVT+gkLFDF9noea+k8KhnzYJjGA8u5 laXLGRBsJKiLqoKDXc9HFp0wHBsyr+3eHqs7BZGGFFmimPOtTNb3HLNJwF9bJz5N/ntr BHbKPY/TZ2m+1Y2eAg1z53UEl9c3d6wq4ed+43TrlSp0QCSzEfuDeenVhn+7LZHtEhI+ keJcHmBkG1TsBbKcieJAOXg3JW3AiYkh5yxCSbZtOW84g1+1hFtHo6fc1SrNoPR2N2VB XkeUmEn+DurcARBT4xWC2Do4D8jmdbIo6XJIDdyz1Eofn7zIeoKF9yQ0bPzBzv9yVFTq 4j9Q== X-Gm-Message-State: AOAM530DShrHZFiX9NWCE9spACb6k2I41LJ3fslyP1KmRMyp6BiRH/Z3 eQgkuZ1cFXMVISen74q/Ryk323N0BanpsWopKzuF2CLANBC5Wc4HsApU8h6v+tAYI2dkiz35dau SeZ6UTHEwwqre2H479fKRJ4rcxYFMqK2+d/R0CBDWwdJfpD4V/aFJJISYqulTkQ== X-Received: by 2002:a1c:f019:: with SMTP id a25mr20874341wmb.64.1621878015055; Mon, 24 May 2021 10:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwehbIENkcdnjijzHJ2+O89QsNhspxSvntWl07s7buUmzQppLjks9QCLF6E69mnU6XRg/BJgw== X-Received: by 2002:a1c:f019:: with SMTP id a25mr20874323wmb.64.1621878014829; Mon, 24 May 2021 10:40:14 -0700 (PDT) Received: from minerva.home ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id d3sm13004717wrs.41.2021.05.24.10.40.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 10:40:14 -0700 (PDT) From: Javier Martinez Canillas To: grub-devel@gnu.org Cc: Carlos Maiolino , Eric Sandeen , Daniel Kiper , Javier Martinez Canillas Subject: [2.06 RELEASE PATCH v3 0/4] Add XFS bigtime and needsrepair support Date: Mon, 24 May 2021 19:40:03 +0200 Message-Id: <20210524174007.3201036-1-javierm@redhat.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Received-SPF: pass client-ip=170.10.133.124; envelope-from=javierm@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.371, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 17:40:23 -0000 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 v3 of a collection of patches posted before separately to the mailing list. It addresses the issues pointed out by Daniel on v2. Best regards, Javier Changes in v3: - Add dkiper Reviewed-by tag. - Fix PRIuGRUB_INT32_T typo. - Add dkiper Reviewed-by tag to patch #2. - Include grub/mm.h instead of the stdef.h header (dkiper). - Fix commit message in patch #3 (dkiper). - Drop unrelated cleanups in patch #3 (dkiper). - Fix issues pointed out in v1 that were missed on v2 (dkiper). - Improved commit message in patch #4 (dkiper). - Make the debug message more clear (dkiper). 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 | 70 +++++++++++++++++++++++++++++++----- 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/time.h | 2 ++ include/grub/types.h | 6 ++++ 19 files changed, 101 insertions(+), 33 deletions(-) -- 2.31.1