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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2F94CDB474 for ; Tue, 17 Oct 2023 22:43:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230343AbjJQWnC (ORCPT ); Tue, 17 Oct 2023 18:43:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjJQWnB (ORCPT ); Tue, 17 Oct 2023 18:43:01 -0400 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9293DC6; Tue, 17 Oct 2023 15:43:00 -0700 (PDT) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1c9d407bb15so52418135ad.0; Tue, 17 Oct 2023 15:43:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697582580; x=1698187380; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qA/CJbPoGdWoJZcG4YdRHMYpbxeSagOoqg60ZPsmRXs=; b=H/zkW6tiMehxTzAXE9q+AoUiVZgC9YM1YqKlmWtL+N0nIsWfo5RprxvOj+xMDISKlG MDA/9zv1WJteajvbYX8Yh751KLxNF6OJRPwNrllR3Eqxe/9ByyfIT2injKoLYSzAZy9A /7LZP+YbTMLmmtejokgCnw+WFb/r4qCHPQaQFdG1cWfX/jy8A+STYqEyDWkTni2UTS7G 0yDuEam/Q60ELGtMp5u5SqKbj/ld7VNfVrtmM6roP/lK+L+yn7sUeX5nOnQH2w6Kia0H FmHaReafjnUTtlXecvv8S1ByxtiVlf0xrFJH6pOgE41LoJVAbGX9r9Y9A0/rteU5eai6 nYNQ== X-Gm-Message-State: AOJu0YwTgH27+4AhdtkfYnT+TrcbF29MY/k1c9xsYMNBw5GjIYoFxRi5 HUXJFVnxPpHx8OUk2DLkFiU= X-Google-Smtp-Source: AGHT+IGIThTl+39yky+2mrlw0uX5joN3+viEGcXHgW0bQJT3qH1zgyge2UZdGjwzXflo4klLC1k9yg== X-Received: by 2002:a17:902:e401:b0:1c9:cc3a:7b3 with SMTP id m1-20020a170902e40100b001c9cc3a07b3mr3011840ple.54.1697582579800; Tue, 17 Oct 2023 15:42:59 -0700 (PDT) Received: from [192.168.51.14] (c-73-231-117-72.hsd1.ca.comcast.net. [73.231.117.72]) by smtp.gmail.com with ESMTPSA id x4-20020a170902ea8400b001c3be750900sm2113447plb.163.2023.10.17.15.42.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Oct 2023 15:42:59 -0700 (PDT) Message-ID: <65b871ef-dd93-4bfb-bae9-c147a87c64d0@acm.org> Date: Tue, 17 Oct 2023 15:42:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug report] blktests srp/002 hang Content-Language: en-US To: Bob Pearson , Jason Gunthorpe Cc: "Daisuke Matsuda (Fujitsu)" , 'Rain River' , Zhu Yanjun , "leon@kernel.org" , Shinichiro Kawasaki , RDMA mailing list , "linux-scsi@vger.kernel.org" References: <8aff9124-85c0-8e3b-dc35-1017b1540037@gmail.com> <3c84da83-cdbb-3326-b3f0-b2dee5f014e0@linux.dev> <4e7aac82-f006-aaa7-6769-d1c9691a0cec@gmail.com> <29c5de53-cc61-4efc-8e8d-690e27756a16@acm.org> <20231017175821.GG282036@ziepe.ca> <8801fc68-0e8e-4bb1-acaa-597bf72a567d@gmail.com> <20231017185139.GA691768@ziepe.ca> <08a8d947-25b5-434c-9ba3-282d298b5bfd@acm.org> <02cd10fd-fd4a-4ad7-9b1d-6d37b070aacf@acm.org> <5c6e69b3-f83b-461d-a08a-37bfbd82f995@gmail.com> From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On 10/17/23 14:39, Bob Pearson wrote: > On 10/17/23 16:30, Bart Van Assche wrote: >> >> On 10/17/23 14:23, Bob Pearson wrote: >>> Not really, but stuck could mean it died (no threads active) or it is >>> in a loop or waiting to be scheduled. It looks dead. The lower layers are >>> waiting to get kicked into action by some event but it hasn't happened. >>> This is conjecture on my part though. >> >> This call stack means that I/O has been submitted by the block layer and >> that it did not get completed. Which I/O request got stuck can be >> verified by e.g. running the list-pending-block-requests script that I >> posted some time ago. See also >> https://lore.kernel.org/all/55c0fe61-a091-b351-11b4-fa7f668e49d7@acm.org/. > > Thanks. Would this run on the side of a hung blktests or would I need to > setup an srp-srpt file system? I propose to analyze the source code of the component(s) that you suspect of causing the hang. The output of the list-pending-block- requests script is not sufficient to reveal which of the following drivers is causing the hang: ib_srp, rdma_rxe, ib_srpt, ... Thanks, Bart.