Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp178133lqd; Tue, 23 Apr 2024 20:50:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCRaEd2/d/y09z9PV4ClJo2hOVxRF7P5I3R07Yd2YzfuHoWnu9RYXwzr1izgo/618dhG2tzxCfeJ0wKajbtifnIxdiYEwzeqRtM6QdEA== X-Google-Smtp-Source: AGHT+IHIz7AyCLHl0vaRvvTHEoqBcLM7th4TwPIMLEaJfewuaAE21SV6iZqAD0xObOLi6hCQxmGv X-Received: by 2002:a17:906:30d0:b0:a55:aded:200d with SMTP id b16-20020a17090630d000b00a55aded200dmr1217200ejb.12.1713930612326; Tue, 23 Apr 2024 20:50:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713930612; cv=pass; d=google.com; s=arc-20160816; b=z3ws4LbrcwwAnwp434xa7MCBcY/1vo5uPUnoQfvBjn3xHDGQj9mRmPAPofmAgpCMzX YETRDSKUAbi5smL7xHXQ9+R4ZhkF7hC4Hl+co0Y2l+QnrayzmYFS8AADHZqz5wBKexbq Z4kjWHO67KR1uz4rIQbos3+5IyN2yamqGR0PUL0GUtoCqT7NtqDHymJGSFDzl7QVmWej W11NLlQm0kwpNAyMToSC4jGJDy2QrFs4FudWOYgEQX6K14ycbQeAmmCiZjUN4RWMyyMb JWyP/8AUjLHCOe4F/y++6SCauWCw4qfKq8HqpGluppiAy8Mz4L864grf5q/S71EApBDi SXCw== 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=N4iaFiHz3JVtS6KJAVpuwAMiXcxSOdgHV/tHQS4d14g=; fh=FGAq13Dh0ICWnTZ1bINaUEc79yKht6kuxMzZnIgqSjw=; b=OaKQlkFEO/fK23/dn3EIk8SpsX9r0F7uHByvwULFUMu8+EjuphslndLnqyYp5lfjRT konrywFmOCYCrI4ZBiJU8ulNS3n+TYV2u7o5Mi57ZCCYV0ahpyPjgzDSFkjjv28TppOr OhXUi4Yl7FAwM73POgZLXHAniW8WiOxW5vLsWN5zKGQUNj8B/v1Y1hO0UkMcOxHYOsZe AePe+LOgo2OvK8pcNBlGxfQxzi8Y2c6ZJ4VmFOYvVeM+x88eGPWsfZBQXS47rTdoSPu3 tzxfdJLw1afls4rs8DNo9N6LLSGR712EU1dGeJAt6aULT90RriW2K+6W4n0+Le4O7Ndi XxMw==; 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-156241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156241-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j1-20020a170906094100b00a51aaa75b95si7401017ejd.624.2024.04.23.20.50.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 20:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-156241-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156241-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1485B1F24D1E for ; Wed, 24 Apr 2024 03:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83B9A144D27; Wed, 24 Apr 2024 03:48:37 +0000 (UTC) Received: from dggsgout11.his.huawei.com (unknown [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 888D314387C; Wed, 24 Apr 2024 03:48:35 +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=1713930516; cv=none; b=PrITDDRYUtBZe+1OtRjvoyax9A6cgf/j9g5YBCa7KMG9TOsAry1Jh9yKvk2ox6PwxRwhIbrBDSOOzPkLA8sO4rN1tXJuMwk+tXR0SC6ewCBf1q3wFRJJRKXNfHV6KsNbhOdu0VygJ8i52Czxwuo7ZkKI1sBNitNCkkS7AbV1xCI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713930516; c=relaxed/simple; bh=5euwH6CxB4x5TEj7VSBC62QDjiP6o88GZy3qb6LYYiM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=njxQcCT2AYkjcMNwP4bE/8lEofDtokvA0Ro48rQqPTFkcFhslpbrT93PyHmDrTToV/3yqYEciEkSVlZXhb7WGOvxgL5RxQ8q1R0nzccGuXBCY1VfPG13AB73qa/fL8XvjuezZfl2gV50+Eu9D+Xnb7gElc4anpwDL0l0Qnvai8Q= 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 4VPQ1z1xj9z4f3m6n; Wed, 24 Apr 2024 11:48:23 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 736F41A0175; Wed, 24 Apr 2024 11:48:32 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgCXaBELgShmKXE4Kw--.6143S9; Wed, 24 Apr 2024 11:48:32 +0800 (CST) From: libaokun@huaweicloud.com To: netfs@lists.linux.dev Cc: dhowells@redhat.com, jlayton@kernel.org, zhujia.zj@bytedance.com, jefflexu@linux.alibaba.com, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, libaokun@huaweicloud.com, Baokun Li Subject: [PATCH 05/12] cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd Date: Wed, 24 Apr 2024 11:39:09 +0800 Message-Id: <20240424033916.2748488-6-libaokun@huaweicloud.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240424033916.2748488-1-libaokun@huaweicloud.com> References: <20240424033916.2748488-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:cCh0CgCXaBELgShmKXE4Kw--.6143S9 X-Coremail-Antispam: 1UD129KBjvdXoW7Gw4ftFy7Cr1DCryfAw1xAFb_yoWDCwb_ua s7Zw1kXr4Sga1kJ3yxAryUJrW09w18A3Z0grn5tFy7C345J345Jan5JrnFv39rGF1UWa1q qFsava48XrnI9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbmxFF20E14v26rWj6s0DM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6r1F6r1fM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI8067AKxVWUAVCq3wA2048vs2 IY020Ec7CjxVAFwI0_Xr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28E F7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8Jr0_Cr 1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0D M2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjx v20xvE14v26r1Y6r17McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1l F7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxan2 IY04v7M4kE6xkIj40Ew7xC0wCY1x0264kExVAvwVAq07x20xyl42xK82IYc2Ij64vIr41l 4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67 AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8I cVAFwI0_Gr0_Xr1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1lIxAIcVCF04k26c xKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAF wI0_Gr1j6F4UJbIYCTnIWIevJa73UjIFyTuYvjfU1Q6pDUUUU 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 --- include/trace/events/cachefiles.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/trace/events/cachefiles.h b/include/trace/events/cachefiles.h index 119a823fb5a0..bb56e3104b12 100644 --- a/include/trace/events/cachefiles.h +++ b/include/trace/events/cachefiles.h @@ -130,6 +130,8 @@ enum cachefiles_error_trace { EM(cachefiles_obj_see_lookup_failed, "SEE lookup_failed") \ EM(cachefiles_obj_see_withdraw_cookie, "SEE withdraw_cookie") \ EM(cachefiles_obj_see_withdrawal, "SEE withdrawal") \ + EM(cachefiles_obj_get_ondemand_fd, "GET ondemand_fd") \ + EM(cachefiles_obj_put_ondemand_fd, "PUT ondemand_fd") \ EM(cachefiles_obj_get_read_req, "GET read_req") \ E_(cachefiles_obj_put_read_req, "PUT read_req") -- 2.39.2