Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7211724ybp; Wed, 16 Oct 2019 05:33:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxe/9c3bdGEMYEnT4XojzhEj7bWD6gdBZQUTcsESWKVG1TWhl5NPZGitzl2jZKyqkX6AS/Y X-Received: by 2002:a05:6402:514:: with SMTP id m20mr39744622edv.187.1571229219038; Wed, 16 Oct 2019 05:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571229219; cv=none; d=google.com; s=arc-20160816; b=renoTARDYO0A/YPDaeyyk2Ut1JjxFGQx1tQsYm0pTkyx48Tkzn2HJeVY79kmYK7RgL w8JPNaN0YeevCEXNJ8C01z10uOwaIFss4BmdlyZNpHb5DC9BcSLRaRl+G430/IpKRTx/ krJJoMgblM1IQBo7WYO04xFFWBWXGa+TxwEdHinx4GR4jXSj3rw10ImxZ6qGo9IEQCiD 7/3fZKWxzeMlZfIw6ry6Qymja1175NffW03/3R+zsbNWaW2jFZWP1fBbxzMKoDqeui12 czEISOcD+HTk3G6RTroGbYSL+RPy/FV0T0LaYyzp7M4Y3gBsznmQHnnpi3WhjXO3ctng L+kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=X8eLbStMDo3EgI8FI2uC1XOXTD1Y0x0fkpEJSN6o7Hw=; b=ZbFjdcUesotorB79ZGuhvcF0yvZIw5CmoFSBC9zPfXBb83E0ZCftmcxYtMHoc0QJTq sdURo+G7iklBu7slrEc8Nn20VRe5V5e8nAd3oP+S9Fd3KfXQ8Jm4h6ANsfWv9UvImRbL l0l6VYKp83Zw9YJEQ1n3mnU4yA3T8a0p3RyiUYc/zS+FfJYd1uh4ss3REsn35M7h2JoJ M475yJ1XQJC17Rka6fbltosuzAFuSnub6xcP47FoaYZPoMaGlcBhBmanWW/kk0iQmQRt Bez6dXSBxkaGOQEbndaU+PO3M8dQaW8lIuvUqk0DTJ7Gmi/0fKNpJxzfv2qhQfmnnxab ZzrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si17449944edb.371.2019.10.16.05.33.15; Wed, 16 Oct 2019 05:33:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391255AbfJPHng (ORCPT + 99 others); Wed, 16 Oct 2019 03:43:36 -0400 Received: from verein.lst.de ([213.95.11.211]:59476 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387890AbfJPHng (ORCPT ); Wed, 16 Oct 2019 03:43:36 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id D8C8E68B20; Wed, 16 Oct 2019 09:43:31 +0200 (CEST) Date: Wed, 16 Oct 2019 09:43:31 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: Christoph Hellwig , Damien Le Moal , Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/12] iomap: lift the xfs writeback code to iomap Message-ID: <20191016074331.GA23696@lst.de> References: <20191015154345.13052-1-hch@lst.de> <20191015154345.13052-10-hch@lst.de> <20191015184040.GU13108@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015184040.GU13108@magnolia> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 15, 2019 at 11:40:40AM -0700, Darrick J. Wong wrote: > > + if (unlikely(error && !quiet)) { > > + printk_ratelimited(KERN_ERR > > + "%s: writeback error on sector %llu", > > + inode->i_sb->s_id, start); > > Ugh, /this/ message. It's pretty annoying how it doesn't tell you which > file or where in that file the write was lost. Sure, feel free to improve it in a follow on patch. > > I want to send in a patch atop your series to fix this, though I'm a > also little inclined to want to keep the message inside XFS. > > Thoughts? I don't see a sensible way to keep it in the file system, and I also don't really see what that would buy us. I'd rather use the same message for all iomap using file systems rather than having slightly different error reporting for each of them. inside the iomap callstack.