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 92A8EC77B7F for ; Mon, 1 May 2023 04:47:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230525AbjEAEru (ORCPT ); Mon, 1 May 2023 00:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEAErt (ORCPT ); Mon, 1 May 2023 00:47:49 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A58BDE; Sun, 30 Apr 2023 21:47:48 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id D5EBC68B05; Mon, 1 May 2023 06:47:44 +0200 (CEST) Date: Mon, 1 May 2023 06:47:44 +0200 From: Christoph Hellwig To: Ming Lei Cc: Christoph Hellwig , Theodore Ts'o , Baokun Li , Matthew Wilcox , linux-ext4@vger.kernel.org, Andreas Dilger , linux-block@vger.kernel.org, Andrew Morton , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Eric Sandeen , Zhang Yi , yangerkun Subject: Re: [ext4 io hang] buffered write io hang in balance_dirty_pages Message-ID: <20230501044744.GA20056@lst.de> References: <663b10eb-4b61-c445-c07c-90c99f629c74@huawei.com> <20230429044038.GA7561@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Sat, Apr 29, 2023 at 01:10:49PM +0800, Ming Lei wrote: > Not sure if it is needed for non s_bdev So you don't want to work this at all for btrfs? Or the XFS log device, or .. > , because FS is over stackable device > directly. Stackable device has its own logic for handling underlying disks dead > or deleted, then decide if its own disk needs to be deleted, such as, it is > fine for raid1 to work from user viewpoint if one underlying disk is deleted. We still need to propagate the even that device has been removed upwards. Right now some file systems (especially XFS) are good at just propagating it from an I/O error. And explicity call would be much better.