Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp103519lqp; Tue, 21 May 2024 20:52:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCGZr4cDRjQz2cKgqGiOxW6HPVYH6BDwE9Zd3kGpGtrt5vS82e810qWKjdQyjaIFvTKoL34OGXRPKU9n2znZ6r1/rE1tQL/n+rhTlTsg== X-Google-Smtp-Source: AGHT+IE+Y1hGas2lG65xEtYbzTlsyFGkCvAw3GPPXQG9TURf4zYE4ZGzBXkjQgFbIaSKdE8dRnrs X-Received: by 2002:a17:90a:d782:b0:2bd:773c:e49e with SMTP id 98e67ed59e1d1-2bd9f450afcmr973314a91.16.1716349965373; Tue, 21 May 2024 20:52:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716349965; cv=pass; d=google.com; s=arc-20160816; b=UIRlJHhaPKUA1mDcI7DM2RR35No1StYzz0mBv6iEfO6NQ9GnDKNLE8cVBEhYQ4ypGY 9SqYLJeiV+pUzqeuXTAm8rbJbOaH68Ew2kIjgaX0quy4UzokLopVtRzfxpjxA5x/D/4k TW5p/plnOQg4qe/8+ra7SivCc8f/7GK12KSY3nqBEwcdMKZl51Ae8BsGmHYXbvT8UyAR DjPN0ezuoBr3WvOvsLl+8W4Zasq/zq0NhBdRDt4tUB2KJuv4scc527qthPoaJmE/wVVu PJ92Fgu3JwW9WIJoogvmyd9HZ7k+f/B2y1oxCqoWZVficKX3H3PQ41yia0twgjqrgMmp py4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=zHHQEK+dAqR1q1y8z/HOxxQpRVHvIXwXH/3eZ8xxV9Y=; fh=dfpuzL54LAMf7GQmHoqmub+qZCPWKUPNTVFHnj8Vxqk=; b=eRBNuEx1UFQaFI0DknmfwNahEGagirfWdgXVeOisgCO3gOfQ76sUrIihq9DincD5kY nkCZdKgh6lfx7qf2P05FoDW5fCTawrxN8SLzfVeR9HJmhHYF8gNHSpgKwha6ywBJllzV bHAEjPAVnAMl4UcbRNcazUQIypVBENO+eTGwJgiDUTgImoKTiTfFsUufxyFrCOFjAWpD /zzL6UPMKB+Pi9aQP+5F2U62D8do6lp0sdxCc8IwKsHVZQpNgJbjkWGiOvexQ+yj9/vK nqnm2i1T6iViUmDsKasy6kwMum1FWFJ93gZ+HbGyNmJ+dCjx9Qj7yVZrYNE0AV/g7CIP Amxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-185744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185744-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f2f88260f5si57565765ad.590.2024.05.21.20.52.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 20:52:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-185744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185744-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5DFBF282B68 for ; Wed, 22 May 2024 03:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67B238004A; Wed, 22 May 2024 03:50:09 +0000 (UTC) Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7EB92770F1; Wed, 22 May 2024 03:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716349808; cv=none; b=Pj9EcdW1IC7U+Unyw+v91ACAqTXSXsu4gEnBAgnxoUuCRACCBKURXQwq0FvwYGGmFOGBGE4pMBp1W8tPJsK32xkKvopujT7xjKpGypDmYUE9FzaW4RSDqf3HU0aKwFHEjRGuIr+EMsClsZsgwD3xqAwRwVWFF5UMSHPIIxQrVaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716349808; c=relaxed/simple; bh=bhdWp0VX99H8KW0RzywlNmttf4g6lHZ+08HHReY8KPQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ufxmxL+3GumN+78vSCuBvZfjuzSKggCfO2IqH50Kjbgn79xkqf4nUHJjGGFPXRvYdLe+amQTUEsBst1F/yzWIZt5HrFxlboBr/OUkrIV8/4+TbgRFVGL6oNGcdkUOYswsMGOsQbzdrey3zb9D1zapU6Cc53SwNyafOAp8tix0is= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Vkckc6Y0Gz4f3m7R; Wed, 22 May 2024 11:49:44 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 61EFC1A017F; Wed, 22 May 2024 11:49:55 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgBHGBFea01mxlBXNQ--.57627S5; Wed, 22 May 2024 11:49:55 +0800 (CST) From: libaokun@huaweicloud.com To: netfs@lists.linux.dev, dhowells@redhat.com, jlayton@kernel.org Cc: hsiangkao@linux.alibaba.com, jefflexu@linux.alibaba.com, zhujia.zj@bytedance.com, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, libaokun@huaweicloud.com, yangerkun@huawei.com, houtao1@huawei.com, yukuai3@huawei.com, wozizhi@huawei.com, Baokun Li Subject: [PATCH v3 01/12] cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd Date: Wed, 22 May 2024 19:42:57 +0800 Message-Id: <20240522114308.2402121-2-libaokun@huaweicloud.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240522114308.2402121-1-libaokun@huaweicloud.com> References: <20240522114308.2402121-1-libaokun@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:cCh0CgBHGBFea01mxlBXNQ--.57627S5 X-Coremail-Antispam: 1UD129KBjvJXoW7ZFy3XF43Zr4kXFW3Gry8Zrb_yoW8JF47pF ZIkFyvgry8uws7Kr95CF15Gr18GayjgF9Fq3y2gr1YywsIqrn0qrs29r12yF9YyrsrtrZ7 tw17u343Kryjv3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUQvb4IE77IF4wAFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k2 6cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M280x2IEY4vEnII2IxkI6r1a6r45M2 8IrcIa0xkI8VA2jI8067AKxVWUGwA2048vs2IY020Ec7CjxVAFwI0_Gr0_Xr1l8cAvFVAK 0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4 x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l 84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I 8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AK xVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zV CS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxan2IY04v7M4kE6xkIj40Ew7xC0wCF04k20xvY 0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I 0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAI cVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcV CF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIE c7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0piqXHLUUUUU= X-CM-SenderInfo: 5olet0hnxqqx5xdzvxpfor3voofrz/ From: Baokun Li This lets us see the correct trace output. Fixes: c8383054506c ("cachefiles: notify the user daemon when looking up cookie") Signed-off-by: Baokun Li Acked-by: Jeff Layton Reviewed-by: Jingbo Xu --- include/trace/events/cachefiles.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/trace/events/cachefiles.h b/include/trace/events/cachefiles.h index cf4b98b9a9ed..e3213af847cd 100644 --- a/include/trace/events/cachefiles.h +++ b/include/trace/events/cachefiles.h @@ -127,7 +127,9 @@ enum cachefiles_error_trace { EM(cachefiles_obj_see_lookup_cookie, "SEE lookup_cookie") \ EM(cachefiles_obj_see_lookup_failed, "SEE lookup_failed") \ EM(cachefiles_obj_see_withdraw_cookie, "SEE withdraw_cookie") \ - E_(cachefiles_obj_see_withdrawal, "SEE withdrawal") + EM(cachefiles_obj_see_withdrawal, "SEE withdrawal") \ + EM(cachefiles_obj_get_ondemand_fd, "GET ondemand_fd") \ + E_(cachefiles_obj_put_ondemand_fd, "PUT ondemand_fd") #define cachefiles_coherency_traces \ EM(cachefiles_coherency_check_aux, "BAD aux ") \ -- 2.39.2