Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp236837rdh; Wed, 7 Feb 2024 03:24:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpXGXNEoQNeyW/RLl3mF60OXgSHgMxv/Q71MshSpdowhSeSofgGUdWZqv9Uvq2Jj7oHKnU X-Received: by 2002:ac8:42d5:0:b0:42c:1254:b062 with SMTP id g21-20020ac842d5000000b0042c1254b062mr17256328qtm.31.1707305047772; Wed, 07 Feb 2024 03:24:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707305047; cv=pass; d=google.com; s=arc-20160816; b=gITFEnQ0edCCIIY+22ggNpEuxvAA/rm43d81IRU967HBpC/lNxWwt9+31FjLCYKHcJ izfPZROfMnzcETO+cARIAR3my6oJlZglj6IIlEWpZHKiuoemfxLzqJv64UEYnU1FAWqh B6AQavTpYNvKWUFyKrp9olrUfJOm9224w0av7XAJPP98ehvP3F116ZV1sKueQfI5gz46 Oi1e2Yp2M3IdcnR/6dwLQTzjasJpCPc6lxF97M6l0n9Kosdn6NsyH30wueR/+Ujy3H3z FdRI7vXqppoFVlVqwVA4YFDXZa9cuieTL/mAUYApFkYq+6luQVcXe9wPWjSzibs623WL gnJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=EP2LWSy9JtM2+WifJPVQImTTMtI7Kx6N1OY0vOyamyM=; fh=aqM5Op06QhicA1BLD6FHQ0iQpgFWaDZjTDDE8ueR+Y8=; b=fuSUzsaoNesTLJFDVI30kZ1Nb71okcOWUgzgv1PBN0vv0X5iwWyvJH+B/9kQO0PHrp RZDUFjPymtZ9ENahqw7a4V6Y7xnMvoX4CDs4fyPjfz8pwIitHGv0vQEDX+JY70R1Gd35 twrCQ36hGaePOti9gNXB7m+wPZpK2kdEXWx9pVoWVW+jPmp77wi6cmbM8K9PqSwt+FBn bXpdv7nscQ2aQZXLnWieU0DwvI6FzrlDSfY8kdee4wuRnlk14nSz3iv92vlkFozvNxwF cWLgeRYFfrdiO1okuZc2johvNlegN9YVt+yVk1n1b0YX1vKuW7AQjabZBoVuWtEVVcPu mrzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=jr5HHEPQ; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-56386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu X-Forwarded-Encrypted: i=2; AJvYcCVikXzhWvTgqcVopL3bb+5uyeiKmyCMDpuZKqKxcuKzz+t54ASmy0riM6sMi7AVx4+T4OQe/q59ibSHByI07oaO4yWCQZOM0C3t0ilzMg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i10-20020ac85e4a000000b0042c0f0cf2eesi866280qtx.493.2024.02.07.03.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 03:24:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b=jr5HHEPQ; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-56386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 589A91C25D69 for ; Wed, 7 Feb 2024 11:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC6E61B7E1; Wed, 7 Feb 2024 11:23:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="jr5HHEPQ" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35E3C1A5BA for ; Wed, 7 Feb 2024 11:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707305037; cv=none; b=d0Q0w1y6PeB+zV6w0ZycNigrHekQnWRxISCbLEQJpKXJPjxMFwGrwd/1+m2bYsq/8ZEm26yD20/tVKaQ4ZNsqomhm1T+LkCTuV06rqo8xyN0BCvnWGBtzfRcr5YC8AOC7b6oCG3K4NVXGqsVpUqFVVqW2ryAoxCX8HAI+J0idyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707305037; c=relaxed/simple; bh=EP2LWSy9JtM2+WifJPVQImTTMtI7Kx6N1OY0vOyamyM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HxY8h9FsoDMtxRPESaOBE/5eqKfup9vkFLQRx7j9tvvVTy7Nx/3awxZ0foW3o5os5+fdGuQz/BzQkQQ8jGL1Y5ad/S62+VtrLp/tMcl13GJoeFB20IEj7rOYXkquahYECB5ljfy2bdg9WqxngD0jddIofpg8WJaz+1bUKffvSjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu; spf=pass smtp.mailfrom=szeredi.hu; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b=jr5HHEPQ; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=szeredi.hu Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5605c7b0ca2so545587a12.3 for ; Wed, 07 Feb 2024 03:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; t=1707305033; x=1707909833; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EP2LWSy9JtM2+WifJPVQImTTMtI7Kx6N1OY0vOyamyM=; b=jr5HHEPQLehSrT4xGvy7jTMaZ/rarUkeWIUEachlZY8LZ6OkTqKfgrkeGNORIT+b+S YzJi67Bui5i3brMIyi4NzdtSbxzoF9A2rY8NuY6LJsl9xOlfJF3nluAj912ydmSpJBNx X9xd+Rk/ksezH5ClOzoJEZW0wJyFsAzJHZwoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707305033; x=1707909833; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EP2LWSy9JtM2+WifJPVQImTTMtI7Kx6N1OY0vOyamyM=; b=CzHBwY/o1qBKlUnWAWMTWuSPZclIxvDDtG/+TSEFs3jSQTusL+NkYrrCH079a3v4cE mL+h+y1YtIwFNYpGR63bSHxgUL92wwdZpv2+7IR2170Y+Nk3nu21IjjfYO5w+e9NCn1n VaKA1f+Gcjqj91rON3+I8y7jXw7b2VvnyA9E3qJFsli0wC7PichMLDOh7G5KXvlrwb5Y ofW9mANU9HCkw1vCXB6AdWHVGnuQAeZINW4rV/juyRwXKCVJNDcibin4hyuWwlenqdlQ z9uDhIuoyO3Xt5VAdLO6IUXEZwa1+NFH6c9ePAdUt1NwW9Rr1VaQHACaBdfHDZF7XaiD 6iig== X-Gm-Message-State: AOJu0YxlG0UPBG0bz/o8502X5opEkAqe35/nAN6bAVReN/a9qzkLexbm erPy5igA6A5zUr1mEO/MFBQtbi/DSMyPBZjhpXYcD5e2RAYBjV+GkdHLM7TcLpUEUDyDpK9312S 6fNb1Yz3PpoZgJGE/2GbSGKeTHzRq3Rcj1Jf/uQ== X-Received: by 2002:a17:906:c2d2:b0:a38:2bee:7a7b with SMTP id ch18-20020a170906c2d200b00a382bee7a7bmr2964809ejb.1.1707305033154; Wed, 07 Feb 2024 03:23:53 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240207110041.fwypjtzsgrcdhalv@quack3> In-Reply-To: <20240207110041.fwypjtzsgrcdhalv@quack3> From: Miklos Szeredi Date: Wed, 7 Feb 2024 12:23:41 +0100 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM/BPF TOPIC] tracing the source of errors To: Jan Kara Cc: lsf-pc , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 7 Feb 2024 at 12:00, Jan Kara wrote: > The problem always has been how to implement this functionality in a > transparent way so the code does not become a mess. So if you have some > idea, I'd say go for it :) My first idea would be to wrap all instances of E* (e.g. ERR(E*)). But this could be made completely transparent by renaming current definition of E* to _E* and defining E* to be the wrapped ones. There's probably a catch (or several catches) somewhere, though. Thanks, Miklos