Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp76562pxb; Tue, 17 Aug 2021 19:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4jNLDhtRescvKyYIWU+zi0b8LMf42IdyGP6Q6pDdQwWrSY3RB3espwkCR1/mDIyy8UD4o X-Received: by 2002:a5d:9617:: with SMTP id w23mr5209828iol.115.1629254434395; Tue, 17 Aug 2021 19:40:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629254434; cv=pass; d=google.com; s=arc-20160816; b=qeUfzopu2U8hOWbtSWBitaAe6tM/0z5G6jjqNnljFbAeo3QIkVlRLGSm0XIDVxTZ8X yD+yDnVs4sfilJvS1C8NpXLun2fxusevryKzSlo9gtMqaHaUEukURULDJlGctXE7d3sj 5YJZFrQEik+rR+NkjvQzRYN3BXiT+zJjQoXEeKFjEx3rJqCT8MHTUA0aWq+IYfW+ttpp asYsMYM2fHSFbuH+Xy4eM7hGTB+jrtuHQfRj+Bu83hggFYFemlSREcjqeM0YoEe8jEU1 tJLAJdG1m4mWOJ6sa672bScmhfxuUSw6k7aRnTNd+MxGi3KXnCjxvVMA6t+TVG+Wck0w LmWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature :dkim-signature:dkim-signature; bh=mdAo+d9ynx/JPfxZfvJdUa6lIOgvw6SUoaG6Vb89y0c=; b=apS+0hML1+SBOkQnEfa3tLyIYx/O3lG0EdAcikHx5zm4e+sryFBu9LRqTlurmZbVJE m9Gzx6Wu2LnC/ubBApeKHFW3IQWmk9ewoDz0G3THQkkf6D+4vpT/RBbwJ3pEUwF7E9lJ pWDmv8etjXSO1hPS94OT1WloT0jPqCZbzQP7qyByblvk6zgSGuRSs13rIfYRfVXBbCWE NxaAg90GG8ghwbkdce0ad0Ol4/EO679rF4q39yI9E+ViSON17OoRYt0B8JX+YAUS5566 B36h8ar8kOFxxvWhxK54+IpcShaFdGFI55XTNRdd04ooX23sSkjTULNd58r/h0W8j77k 0Olw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=EZKYqF3s; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=VI39cNtk; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=L8diSLBO; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si4689489iov.104.2021.08.17.19.40.21; Tue, 17 Aug 2021 19:40:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=EZKYqF3s; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=VI39cNtk; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=L8diSLBO; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236751AbhHRCia (ORCPT + 99 others); Tue, 17 Aug 2021 22:38:30 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:2342 "EHLO mx0a-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234435AbhHRCi3 (ORCPT ); Tue, 17 Aug 2021 22:38:29 -0400 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17I2W9De023069; Wed, 18 Aug 2021 02:37:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : content-type : mime-version; s=corp-2021-07-09; bh=mdAo+d9ynx/JPfxZfvJdUa6lIOgvw6SUoaG6Vb89y0c=; b=EZKYqF3sK8ReL0oEBhxAvJchGJPSv1v3HXPwUUQA/dcqcK6kri/+mFDOlNwuVi7KoHLm /YC40cVPMIptlAEmXasnrHR5FJRGfrzlxHTaJHzAmcUK6hwXVP/jt+yBUxbMwZAG2yeW OjwBC7QQZbalbaNOMRqbCmYMP5wy67j5hWuAoEt3mpVhqaTKlFYOFLKRnzkEGVjgZYax 6+CypdsrrV49XVAdYqx8bmXuRJLE1X1RAsrIYrNLqvv9ZRDYGnMGGff/irH9llHXWM6l 0HNgGEnshGsXIg2cEZjROuYnvk4eMaoZbecV9PDomIpZ6UNreFxRlaD+3Jkle5zZwiip kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : content-type : mime-version; s=corp-2020-01-29; bh=mdAo+d9ynx/JPfxZfvJdUa6lIOgvw6SUoaG6Vb89y0c=; b=VI39cNtkMp32JMXcQZ+gd5+CJs9JiqNy63IMdhBOWyA4xP3eRDHXSrPQtqNgCxuMghtH YcMxEruXPl82de2QhKHQIG8G09uMhXWwvkqVvzE6Fismx7oRwzFcdAZxyY7KQu+UeWHo 3aoZS67/BFfkawUCxOrNozUlFfyvUI0x1uXe5g3fjpTZhUZ7MpVuNXK4nQmv0nqBhic7 tmQCZhiBTzeCyAhTi3UzrAlN/SWyZSwv5yk1xnVQbZQnqLwekC2QDYakOqd82+VWwmux S/EL2cbDRD0v56fDfyTH2Xq1vrZHefJmpi7wdQ3gaJB5LzNAsc0pQr9oXJffXmdBRMta Ow== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3afdbd5rw0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Aug 2021 02:37:51 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 17I2Uu3c191216; Wed, 18 Aug 2021 02:37:50 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by aserp3030.oracle.com with ESMTP id 3ae3vgmyjd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 18 Aug 2021 02:37:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cxJqAZgQ3JokhMHuoKZB5VUFvMQMcmkFD0Qa5AYuxLG9P09LAyB8Ej/etZ4FAlBkVwmYqOOMH+kJiyoWr9ArATzMVMaQImgsW6vItQPbVRW8BAUnSsLP+3cdiAoom9K1fl5r85bYuUN5zMG/KjzzyVBV44WwEqAuwmv3GkM0h4cpRHQQ0uuRURBqdlT7eXYHp1nHOpMuve0sQ4fqAxnnRZ0xPR8KBy1AaYls51hOYavsh0cIUURsP1CL686e3fiAymB7lr9ePUnvg6y79FC+sSJ4Kw2dzR9Utb6gQPvYAVrnVOzVhDwQagIaGqpM/SCNrWNNI7C62wt0ICKVS4afnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mdAo+d9ynx/JPfxZfvJdUa6lIOgvw6SUoaG6Vb89y0c=; b=fjW+sL2Wg31jNOy+dhejXvHZgb/CxPvXMOssIYFmZJsMzfJSiZh7r31mKAGmjCAZvScxIZxMffrwK9npksjNXZ+OKk7hIhrpK9YT3e1MaMoOm9Mkkqvh7lhCN266aUMdPWvzietmTTY4T20I7O5EB/qvmLnbGdaqlH4AsDg0Se4Y3TEWdyzbHUOcX1n05D/XUun7/ov9iyuH7M1tWEI2GIB7OwqGaBvyNikXz8Ob5Krwg1yc6Melqnfr2RFInJbNaXjXFmcW8CtYdJh5UrIxGgOn7kAV9VocxU0N40xVyA2olwp1o64xTIjdZ+ZdDJ5zjiR1mBI3ufyCFRIKyUV/7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mdAo+d9ynx/JPfxZfvJdUa6lIOgvw6SUoaG6Vb89y0c=; b=L8diSLBOjHhKNuF9uodMUVabf8MoJiClwARG0V/gx9/NJD/vy63ABK/CnXLbCAd6BUuII8nsROrww2gTbT4UGRr+duX1szFhcF7pWk/lKx01Kd8SLaCbvzTG7bUd1UE3cFneST9lBItUDFWvIP7Q17p31jhzMuug7Bq2Nnidg+s= Authentication-Results: hyperstone.com; dkim=none (message not signed) header.d=none;hyperstone.com; dmarc=none action=none header.from=oracle.com; Received: from PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) by PH0PR10MB4597.namprd10.prod.outlook.com (2603:10b6:510:43::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14; Wed, 18 Aug 2021 02:37:48 +0000 Received: from PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::c0ed:36a0:7bc8:f2dc]) by PH0PR10MB4759.namprd10.prod.outlook.com ([fe80::c0ed:36a0:7bc8:f2dc%6]) with mapi id 15.20.4415.024; Wed, 18 Aug 2021 02:37:48 +0000 To: Christian =?utf-8?Q?L=C3=B6hle?= Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" Subject: Re: [PATCH] scsi: sd: Do not exit sd_spinup_disk quietly From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: Date: Tue, 17 Aug 2021 22:37:45 -0400 In-Reply-To: ("Christian =?utf-8?Q?L=C3=B6hle=22's?= message of "Mon, 16 Aug 2021 09:37:51 +0000") Content-Type: text/plain X-ClientProxiedBy: SA9PR13CA0085.namprd13.prod.outlook.com (2603:10b6:806:23::30) To PH0PR10MB4759.namprd10.prod.outlook.com (2603:10b6:510:3d::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from ca-mkp.ca.oracle.com (138.3.200.58) by SA9PR13CA0085.namprd13.prod.outlook.com (2603:10b6:806:23::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.9 via Frontend Transport; Wed, 18 Aug 2021 02:37:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bd094c37-6295-45d5-2c01-08d961f12af6 X-MS-TrafficTypeDiagnostic: PH0PR10MB4597: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LW9rquJHh/Nn7s90fpGKHJs/oQUn4q1232N8UXgfZ5FsQeUSIc7hhvYtp6uIeYhQEVG62DPEkGYf19ta/gWmPOQZmZEBFN9mM0s5WeLq0DmPDfpSuH4pYjmF0DwtxgeqjODc2QSYYaP86/JA2QdfcrYNSvwVqT9JerBnFsYlNvhRgbbqYo/fLf7GpMREqOircEPibge11PmgEQ/8RocmS/bcyqeFcQq9q61L8JYvMrPdR1r0dgWO6W/Bs1hEl1bJc0oJiX/1CDd7GTbyNDTEeg9Z6m/Qjzb9wBkvubcvBEaZKWy1nV1Yhkoz27e55UPs7v1Qupru3aeuWN73fLMBGUPFItWcakBK6tBzSTb+oPA0ZXTxJJEOafaEvpl0/59LvlM4ZHO7HrjDCxRmDOm2uXRZMUAsRwnx8R+HdMYGi+dUMyXNyEY7TpwgKZigdzJjVbA62iD7qtqdFGABU6uMOzdFELsZlnvHpa0N8WfixuUNx4Jz6Urqv4l1K7br6zuvxifpTTd0THiqB6hTp2ztuYzOYY+Xm4VDJUHBcPx/PjFMpn0Vg9cq3ggeWXEikjyMrZ9nPt+SlcwGmnn0grB6gCUkrXozl7aa6pymCxvlMf9cTC41rrkPDmLG451SeOSzccL1eUSmUaxCcETevdUGS+KCGdKr83PpwUP/wcDMPXvd2fUzgik3wg7dk59rh44yPwc+J94lV0s728xhTSVXbQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB4759.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(508600001)(66556008)(6666004)(55016002)(186003)(86362001)(8936002)(6916009)(5660300002)(4326008)(52116002)(7696005)(2906002)(36916002)(38100700002)(54906003)(38350700002)(316002)(26005)(66946007)(8676002)(956004)(107886003)(66476007)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bVqCXtI7uFFKzchYVL7XocRxOtRWhn5pG/XZiynFCi60CWP0vkUsg9eWlgGN?= =?us-ascii?Q?64EpmNLLPh00/UNfoz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omT?= =?us-ascii?Q?8i/O4Nn8inDRyNA1vTn/P+SD04fjkKNRRYAK1+BRKCSbsbOrxURhmSaRRKUh?= =?us-ascii?Q?/g5KhhWdl3c38wvYCUbXyQEHhpgCzFhV4PWCSXPjTw+bTDTtjwwMi4SiFE0+?= =?us-ascii?Q?CT7QWg8HTB6VodV8EYIp23w4pbuACO7Ef+N3Rt6d58xw/Qew402AwaL49wad?= =?us-ascii?Q?DdwSwliD3aalNDA/RZidcjXwFH0cGrWgUG0ha/Y7r6Uu2066qZWnflwn0rf9?= =?us-ascii?Q?Hjbbk8wUz+eEm+BqDQgW7lz27G7oA+3529mFpUyYGmGTZ5TeLDECi8rKB7aR?= =?us-ascii?Q?NAD1bo0W8GfzQ366naCL5eAun5KNOKe1oufhGSIqXRTEHiCciY5iGs3NS9kX?= =?us-ascii?Q?vhodoa1Zh2atyVZI3RIOb7jp?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd094c37-6295-45d5-2c01-08d961f12af6 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB4759.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2021 02:37:48.7057 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YnqcG8eteaKwjZhYXQ+a/Vg3gPTTkXfUZAGwFgkux6Hi9KztucPMfs4PCB44AT5MhBFsuwLYOG9Ugq6RcIOd6uu5geqyzi0WSz9d1m1EtHM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4597 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10079 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108180014 X-Proofpoint-ORIG-GUID: OsHIrDgwWBvXSS_r7gDjn6Bhq53_tu0E X-Proofpoint-GUID: OsHIrDgwWBvXSS_r7gDjn6Bhq53_tu0E Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian, > The sd_spinup_disk function logs what is happening nicely. > Unfortunately this output stops if the media was marked removed in the > meantime. To prevent a puzzling output, add a print for this case, > too. Applied to 5.15/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering