From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24BE5C433F5 for ; Wed, 15 Sep 2021 15:31:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED3F9601FA for ; Wed, 15 Sep 2021 15:31:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234190AbhIOPdC (ORCPT ); Wed, 15 Sep 2021 11:33:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234154AbhIOPdB (ORCPT ); Wed, 15 Sep 2021 11:33:01 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A12D4C061574 for ; Wed, 15 Sep 2021 08:31:41 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id n7-20020a05600c3b8700b002f8ca941d89so2333086wms.2 for ; Wed, 15 Sep 2021 08:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=J2EDhUfSKr3+xLXBcYbTTlnEPHJQPAffNe4PFsPKFSI=; b=MRXTKEMLPPPS2pcABRnAFx4drCUhGDItELlSawVwgX/80Woxo2n2uofk/UFa3qJX7M LcQNVsrexRfoVxoSPOGJ+s98yiJMzHvLHS/vF3lAbRHqlvnZfNz2gF1Rxz/V1PjrHXD3 7kTedI5F1qUlsOw1mv3wLtyIaBAto3tjUqxQgmlTMvmYrBLnIc63PijJ9pfgJ/QbQRzm qkj1rrKTzorrCuzZ7QDusqvkAJLksHDW8qGPfLGSCOauVEy3G59QKekBdhlRU0GyZKb2 CfRjW6UP770Sn8G0P1TuXVeGh5iGVcdOJCPRjfMezFCJ3SW/8WK1iApPyMF20sx7aIrI L3wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=J2EDhUfSKr3+xLXBcYbTTlnEPHJQPAffNe4PFsPKFSI=; b=1N8AgmnODZ914vRF7G6mre7xaZ0Rq+eWKzvLc5mvfj9tB3WXTHHcVhVMW5jXyjKbP8 Gtj6g99Za+QsrlirD+G0jI6uWFtLvhLVRZtbvGsBtYejWc+tS5R8NamGo8OcwTVX4V42 AW3S91a+ASUEhmNd0JNKRTzbwelKSqW1odOqYYkqs5lT0X0nNj2VU4F+x2jt1FZ7DQxt Nymj09OXJKNjpEK19F/GEy5UM6PeafhUaQ0gYiO4uHBRSdi+v4DQzGe7uiJkVTqHvFfO ftvJ6dFBV52UnPev93y9ra5VvMnOV9PzBG7nnQZj/z9GOuzGr7eJSndqdC6QLwGuFq8T qTjQ== X-Gm-Message-State: AOAM5316VdGxy92rRxbAQVPTsKkXaT7fJOfn8c4bczgFNbICyinyvNgo c/M0b5kw25mWYnb9UkF3xqztj86oKLE= X-Google-Smtp-Source: ABdhPJykSplCYcLNDhxpj/61yWWUSFpkOjiM/HtbHbQpOuN+TbOcZQ9OPtnFTZGhCc6c1S9nIt3Eqw== X-Received: by 2002:a7b:c30b:: with SMTP id k11mr306506wmj.49.1631719900298; Wed, 15 Sep 2021 08:31:40 -0700 (PDT) Received: from [192.168.8.197] ([185.69.144.239]) by smtp.gmail.com with ESMTPSA id z7sm368979wre.72.2021.09.15.08.31.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Sep 2021 08:31:39 -0700 (PDT) Subject: Re: [PATCH] io_uring: add more uring info to fdinfo for debug To: Jens Axboe , Hao Xu Cc: io-uring@vger.kernel.org, Joseph Qi References: <20210913130854.38542-1-haoxu@linux.alibaba.com> <3ecf6b05-e92d-7d74-8f72-983ec0d790fc@kernel.dk> From: Pavel Begunkov Message-ID: Date: Wed, 15 Sep 2021 16:31:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <3ecf6b05-e92d-7d74-8f72-983ec0d790fc@kernel.dk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 9/15/21 4:26 PM, Jens Axboe wrote: > On 9/13/21 7:08 AM, Hao Xu wrote: >> Developers may need some uring info to help themselves debug and address >> issues, these info includes sqring/cqring head/tail and the detail >> sqe/cqe info, which is very useful when it stucks. > > I think this is a good addition, more info to help you debug a stuck case > is always good. I'll queue this up for 5.16. Are there limits how much we can print? I remember people were couldn't even show a list of CPUs (was it proc?). The overflow list may be huge. -- Pavel Begunkov