Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lZb3U-0003bD-SA for mharc-grub-devel@gnu.org; Thu, 22 Apr 2021 11:15:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZb3N-0003YI-7u for grub-devel@gnu.org; Thu, 22 Apr 2021 11:15:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:53992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZb3I-00035A-RH for grub-devel@gnu.org; Thu, 22 Apr 2021 11:15:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619104535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZIuEu+ivXD7ctNCfh71KlGmsFXXU80cXdaYTALwn/l8=; b=IfuDd/Xghx380zMVX1JUb8VYNzbVt7JNAxaPznUwDxrEhnKThwOWoi205OpFZ4ymLWlYbN kubPcSemGrlopqZI5cShnbaJ15jXVCvdzpa9EEf/wbLuNAlNPlZA6TaSu4+leHUX/z1RYY Uuk4JEShMqc2dyPvXcIQULAfIDrZF2M= 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-602-3fB7925NNZyRKmZDlzKZRg-1; Thu, 22 Apr 2021 11:15:33 -0400 X-MC-Unique: 3fB7925NNZyRKmZDlzKZRg-1 Received: by mail-wr1-f71.google.com with SMTP id v20-20020a5d59140000b02901028c7a1f7dso13950337wrd.18 for ; Thu, 22 Apr 2021 08:15:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZIuEu+ivXD7ctNCfh71KlGmsFXXU80cXdaYTALwn/l8=; b=ieSyGE2O8DMqz7uuobuSom4HwTSKF/po+lsKDdyV8E84F+Vj8D2zWQat+MubJ709wa mDdYAE18ZVGt04D8brV+cQaWJLQ8BzdUZvTR/eQeue1UH4tZTRH3Ux1dMQcBHge6Q1RR LjCcPdLg2ndTQ3OyeE5nx5iCrQhIodw9N3Es3VT81s00oAu1x3Rp0G0tewkTcJ0051m+ eqljw3WQ4QYmcxRBBIuXLlFhdGLimgEVO+xNJIwA/YF0Y6aPaUVas/6wqlPHIYF36/5j xvF1t31LdCgOIZN7r2qARMQiaLtsKH3xF2VQYeWk/MpRcdduhgjZumFh7i/L/Rv6UZ8B WQQA== X-Gm-Message-State: AOAM533EhjX2JrB0j43gaOqAVj8tAjRmjR5/IniHDENYkLN9vM5M/OiY yLe2WKbT+VHwP2nU5cru4jVWjaAtxlkwSknktFm+O2Iqf+P6yjP9/hnnaZizB/tuFOlNhyQsoP6 8W3fEJe8yG0w= X-Received: by 2002:a5d:6447:: with SMTP id d7mr4874920wrw.1.1619104532216; Thu, 22 Apr 2021 08:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya6osSPXRAnJDWjblXzd6pq75VCqPGr5dNPywjS/YCmPZGxgnyGQs1DJa1WG88p40cVznTeg== X-Received: by 2002:a5d:6447:: with SMTP id d7mr4874904wrw.1.1619104532063; Thu, 22 Apr 2021 08:15:32 -0700 (PDT) Received: from [192.168.1.101] ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id t184sm6724740wmf.26.2021.04.22.08.15.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Apr 2021 08:15:31 -0700 (PDT) Subject: Re: [PATCH] xfs: Print a warning if the filesystem needs to be repaired To: The development of GNU GRUB , Vladimir 'phcoder' Serbinenko References: <20210419151650.207380-1-javierm@redhat.com> From: Javier Martinez Canillas Message-ID: Date: Thu, 22 Apr 2021 17:15:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, 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: Thu, 22 Apr 2021 15:15:44 -0000 Hello Vladimir, On 4/22/21 4:56 PM, Vladimir 'phcoder' Serbinenko wrote: > Filesystems are not mounted in GRUB. This patch will result in GRUB > outputting a warning on every access to any XFS that has this flag set, > even if it is not related to further booting. It will create an excessive > noise. FS drivers shouldn't print anything except dprintf's > I see, you are right. There's a grub_xfs_mount() function in grub-core/fs/xfs.c but it's misleading indeed since is just called from the .fs_* handlers to read the data. Do you think we should just ignore the flag then and drop this patch or it is worth to have some debugging printouts with grub_dprintf("xfs", ... ) ? Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat