Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lgr4V-0007uv-4a for mharc-grub-devel@gnu.org; Wed, 12 May 2021 11:46:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgr4B-0007p4-7P for grub-devel@gnu.org; Wed, 12 May 2021 11:46:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgr49-00012C-5v for grub-devel@gnu.org; Wed, 12 May 2021 11:46:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620834383; 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=ewo7gP6of5O/x1wA5pOJ42puppNJ8SX/qQBAJ7xfLYU=; b=UjjUDcaaEbbZbqOj5l7eqStzoHeSMFZJ6Jt+D1YdeYZPoz1sUwULtY4Zht83gewVnYepkZ NCVRYYIVmNukxmXCptaMH7F8rcnYrgIBE162rNbxTnNi2F5sAjU7VIM7KT2ZXkZnHkPGnu coKK+s4lzya8I8OMhoBdWKMxB30+ii0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-203-fjHPLlTpNK-Q2fpnNHqKwg-1; Wed, 12 May 2021 11:46:22 -0400 X-MC-Unique: fjHPLlTpNK-Q2fpnNHqKwg-1 Received: by mail-wm1-f72.google.com with SMTP id y184-20020a1ce1c10000b0290143299f39d7so804288wmg.4 for ; Wed, 12 May 2021 08:46:22 -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=ewo7gP6of5O/x1wA5pOJ42puppNJ8SX/qQBAJ7xfLYU=; b=iu9iT5Jwx5J4xjzl80nSA0fN7mkS5OSszuezH160fMAZmv2+onF8E6W3GbxzVAv0kE SCjbjOLeUCqThW8EMHrfcVrRlusiUJR75K4dDIwsTgKZHUNQCIfL5XGLpw4s6J0vyG1Z QxcUqzKTz8WoEHDm0mNtKl3Sj8KXltm3kNUux95z7djn79QYX77InHqqUx9f+zrwl9s8 kN+4HHsj4FdeXnUuewL7eX1/O1zV63YpX4v6eYi6wq73F8su8RwHcjqXYAtbZbieTXp2 LHITriJe3T0Wt+wTRQOo72/dKUy6XEzOWk1+1LQx3zn0WSAWN3F/HbLz+0QCimDCDnnk 1ZYA== X-Gm-Message-State: AOAM532iBa2+leTnAKmOgVi2vKSR1nA2JziP6TTGza08CETIqP5Rwj0L L4kIaHrahGYNpKzVcFKB6lzDNjbGVatJbONhjXV79BkmGXpVWhFacjpcw2b0KWkEeffPe0eHrXR b6LEcJNyMU/Vdoa/dAJm2lkYHZyaRtLnBt+96oGxkIZJhu8svg5E74HpoO9xAqQ== X-Received: by 2002:a05:600c:28d0:: with SMTP id h16mr16715403wmd.52.1620834380911; Wed, 12 May 2021 08:46:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8RfsiS68LF60il6ieTvGx98GA+kZKujFgu7dIOvetk+qS+r8BgPXr1LezWLR4O9mnIqm2/g== X-Received: by 2002:a05:600c:28d0:: with SMTP id h16mr16715367wmd.52.1620834380598; Wed, 12 May 2021 08:46:20 -0700 (PDT) Received: from minerva.redhat.com ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id w7sm46285wru.51.2021.05.12.08.46.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 08:46:19 -0700 (PDT) From: Javier Martinez Canillas To: grub-devel@gnu.org Cc: Carlos Maiolino , Daniel Kiper , Eric Sandeen , 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 Message-Id: <20210512154616.998242-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=216.205.24.124; envelope-from=javierm@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, 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: Wed, 12 May 2021 15:46:31 -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 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