Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp518609ybk; Wed, 13 May 2020 06:15:14 -0700 (PDT) X-Google-Smtp-Source: APiQypIX+PIEoc6b2QG8WG6iZGGVGqeYL3j3aYGYrm1fXk+MwCnT0YPA54GQcpHDDsji4p6pHXHJ X-Received: by 2002:a05:6402:1d88:: with SMTP id dk8mr22965551edb.52.1589375714604; Wed, 13 May 2020 06:15:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589375714; cv=pass; d=google.com; s=arc-20160816; b=X+pRQfP9itoNamTAWl6k+bbBidmvOV60QVe6nG3GxXPRG7SVBrsBXMHmFtFb1OBJin ESQKKNLf46CRwCQhh63ee/vaXKpmkSQvYDg/5Okw73p3yxHWeEQRpXGtu4/oz1NOFXhO yFV85snENMJmew+Km457iW6PYc9RUaLaxY17kCVT491413PMWdWIm0Vx72lJRkRESdgh mfyBN4Gh3qqIeZBtZQvEW00Id/m5LUb49gk0ncILBN3H4KjETr0XjNuKkRE4Pk+EFnbC N3wMagBGgcQyExyJNCZDMZehcyLpboXkizXpiFTAY1o+F9Qg78qfiVq9hl9Z4n9Sgers tBzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:user-agent:date:message-id:subject:from:cc:to :dkim-signature; bh=BKuaeX6lOm+prqwwJYu/B/0uAOyx7aUVAegR5287Xzw=; b=ZuufFEyA2QBEOOYv7t+dxpwbeM73/AaKM7abQS0XogyP+YjfnKBOHtfBE4oLz5bsor i7f95UQEoJmbSh+5mt5FktXbc79u8LPpqTmTJwQrDUtTIkLam+Vo2vsOMX5CwS3dbnP8 +iyHpUoygy5wPJu2VZjlqohmTJ5dTvC17sQQU0Vxt9LOmvfc9CpLT3FwRH6ZN+tvek+o hEzU7C/mzbvagcrfcTAqQH4IwA4OdALS96iueZxeXGV15/CVIBzzYIhUGCqDtiMCWS3c +yZ+OcFHqWRlDYD5vfmiSqkEjyEq33qMOVC205fj4WF7oFxhcUi2XH/ED9EGWYZIHNsn CFaw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=VRjt7mEV; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u30si9730897edi.376.2020.05.13.06.14.50; Wed, 13 May 2020 06:15:14 -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=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=VRjt7mEV; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733186AbgEMNKk (ORCPT + 99 others); Wed, 13 May 2020 09:10:40 -0400 Received: from mail-eopbgr680076.outbound.protection.outlook.com ([40.107.68.76]:1352 "EHLO NAM04-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726034AbgEMNKj (ORCPT ); Wed, 13 May 2020 09:10:39 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oHQsc4Ht4pKPJJ3zJF47zmVtvceRfnIcCHJlWBbWtXXv0LM2TopGRexdTKfy1rgrPOwdqtFOzFq158fl44cN4pDfBRmiPHvK+GBqsTxTLFoGAbU4tu82vFetZDReLu7TOBIez7xM35WOIXB2pJV2XjcdupFBPU8ACXiDTGy6+z+zELzZGHakInh6i97IIq/PFJnvKsn4PS5x37HJywD2MsoJURQjRouJNriew8PitdB3nFlM2mgnTSO3Yvk0OXSosmIwB71EX+2lmlaLt2wt/LE4GOdAJ33HWfW1FMZJK6QWSNzlqXQV2B8LwLaLQdF3Yc2TmiOXJSHw/OHW4CydZQ== 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=BKuaeX6lOm+prqwwJYu/B/0uAOyx7aUVAegR5287Xzw=; b=RBJ6mv4/1d0RNlA3DhyBGsU6TmCmrDHem7Dabbsl5LJ8R0EYq/zTIR3IdL/AY6YzHLJVZWnE0eAOUmTh1x26lOkBW3HlgAqe1l24YBmdM/ajBdDrYwY9Lf+mRl0apxuQr7J9k9+eaeJZ34O+x7vxMXqZpYAR0RNgSD1D5oeq222ejnVVzSTRTPxIW0Ya+SBNdf6VwHTSiUoGVxCkUe/GfA+LvaQL8b3JGzHSu9T2N09L7gZgFvLSJkqS8WVzViQlZEnbY+9q1pf8Ppfj05kZh+WUvp04+TiqloUtPilY74Dk93ADpSL1NXymaR6aUZLns+6L2i+ydba9Yu3sevl43A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BKuaeX6lOm+prqwwJYu/B/0uAOyx7aUVAegR5287Xzw=; b=VRjt7mEVkWerTNqZgGIAoOww8/Vt7AxfubnvBJlT8133NWlkJoSw92ANSSeuw2SMKxjH3l5GUTJkAJlAAl8byy39So1CjzOOFD4bI6EAXF4DduI/rL80+bTu6MMXJnXBEpA+iuWYtiauvUPFnrI4nE163hhItTCPY/8dEGv0YBk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=windriver.com; Received: from BY5PR11MB4241.namprd11.prod.outlook.com (2603:10b6:a03:1ca::13) by BY5PR11MB4372.namprd11.prod.outlook.com (2603:10b6:a03:1bb::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Wed, 13 May 2020 13:10:36 +0000 Received: from BY5PR11MB4241.namprd11.prod.outlook.com ([fe80::21d0:98fe:1248:b562]) by BY5PR11MB4241.namprd11.prod.outlook.com ([fe80::21d0:98fe:1248:b562%7]) with mapi id 15.20.3000.016; Wed, 13 May 2020 13:10:36 +0000 To: Jens Axboe , darrick.wong@oracle.com Cc: linux-block@vger.kernel.org, LKML From: "Xu, Yanfei" Subject: BUG:loop:blk_update_request: I/O error, dev loop6, sector 49674 op 0x9:(WRITE_ZEROES) Message-ID: Date: Wed, 13 May 2020 21:10:30 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: HK2PR06CA0010.apcprd06.prod.outlook.com (2603:1096:202:2e::22) To BY5PR11MB4241.namprd11.prod.outlook.com (2603:10b6:a03:1ca::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [128.224.162.160] (60.247.85.82) by HK2PR06CA0010.apcprd06.prod.outlook.com (2603:1096:202:2e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Wed, 13 May 2020 13:10:35 +0000 X-Originating-IP: [60.247.85.82] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 081596eb-caea-4e0b-5689-08d7f73f06b4 X-MS-TrafficTypeDiagnostic: BY5PR11MB4372: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:758; X-Forefront-PRVS: 0402872DA1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oDjQL582hyvxsOgk32JMxn7E+jVSQWww0tEgVrTSN1goSCIVeQbBQo/mkDg13ojtwdqXaOtnaXYkbaKGbDjA+iM7vWrPHWOUlWTwl4glhoAuOvgrrEprlTXCFBNyAt3Pba2fDMpl+p0JW1M/ut4EYMlWSM5HhhnFM3Qiv9b6YrAtxOT6IymMNtamoKkCfaFgc6JZFumKnulUYK6JtXVQ0wSIB7UhRQzKqibI2XTGNdXV8aH8P9w19attuhCegmOH7Bmslv7mtO7iUFXp9SVjPl2ub2YHZxRPBFXxv5ieffuVZSThTT/XhyqUEcAz8SoI9U2OjZz1CM2z3qULvVbWmLgk+/Jdk/TTdQPEyaEzA5uM9Ek3M4kUiyL7rZmf8G9EhgNvYO/dIWdW2bMndw6tUNDpkmYwH1yZP/Z2Ra48vZ+ExODIpXzpqg78LaFW8/9l+IcXHCGPOcWv+VSE9BbqZWM/9BqGnrkMc4ZgFb+3VDbfDGINANXzfgS7NSzer/lwjqHJbDqfsyzSZMXm0aQ0RoC5yrk46ueXAhLI31+0SjXXnwQfhrbFvw9dRiT6yuiFnc3abfN7tPoUw2vmdM58lNZrsdl2PXn9bGOunwRmfFxMtO4z+6jGegigRuBXZCYp X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4241.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(136003)(366004)(39850400004)(346002)(396003)(33430700001)(86362001)(33440700001)(186003)(52116002)(66946007)(66556008)(16526019)(66476007)(8676002)(8936002)(31696002)(36756003)(2906002)(16576012)(4326008)(6486002)(26005)(316002)(956004)(6706004)(5660300002)(31686004)(478600001)(6666004)(2616005)(78286006)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ULQnEvIiOCFMDkfqcYkLKLaMWGuzsgDSeAm90yaUxLaY+tWc8pEj/BFwLChAQJ+zZbwJjh6r3idtK9JuGCU6T5uVBJ3IrcD6UZemdn8UiiSnG4Ob0m+wsQm9jye4EnRq6pAt9hsp6gJbIXoVhZdVMxbr24BjLSyFTyZLOkajbriZ8ZYP2bOr+/32WLhf5XVcDZ3K7wJihqLlGSUI0BkngRF8/eQQ0hPeAolusodKr9RwBpzM4Kql/DYbTVAdfTVMLPuDPvzrspFb7el2rGgiQVJoSI3NZOm/LGT4tsumcU/mvjcSiwdyMXvjakXxpnezVvf96KD9gtD9l8mZF+1I/mgD66y19Z1oC0dvYrman2dKE90CbQ8DuEu69WlYEBqK7VLRC/fWequg3Maccmz2QTOrp/NBaRNOisM/HZwVOqrJcvn7wbmzezlh6hJxU/7fLJamVn1UD09udT/PGJbqA/pEhfg5dK7W6y3bcjQGTjs= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 081596eb-caea-4e0b-5689-08d7f73f06b4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 13:10:36.5245 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fINA91SLSLbkWnT0TQoowVSxlrN9bCITha693l6wqSlAiF/ZtqiL2qpmebGqfcpHSNxFmeXJ9We0MwRSfc8RmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4372 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, After operating the /dev/loop which losetup with an image placed in tmpfs. I got the following ERROR messages: ----------------[cut here]--------------------- [ 183.110770] blk_update_request: I/O error, dev loop6, sector 524160 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.123949] blk_update_request: I/O error, dev loop6, sector 522 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.137123] blk_update_request: I/O error, dev loop6, sector 16906 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.150314] blk_update_request: I/O error, dev loop6, sector 32774 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.163551] blk_update_request: I/O error, dev loop6, sector 49674 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.176824] blk_update_request: I/O error, dev loop6, sector 65542 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.190029] blk_update_request: I/O error, dev loop6, sector 82442 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.203281] blk_update_request: I/O error, dev loop6, sector 98310 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.216531] blk_update_request: I/O error, dev loop6, sector 115210 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 [ 183.229914] blk_update_request: I/O error, dev loop6, sector 131078 op 0x9:(WRITE_ZEROES) flags 0x1000800 phys_seg 0 prio class 0 I have found the commit which introduce this issue by git bisect : commit :efcfec57[loop: fix no-unmap write-zeroes request behavior] Tips: My reproduce command: mkfs.ext2 /dev/loop6 Thanks, Yanfei