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 A7DE9C25B0C for ; Thu, 11 Aug 2022 12:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235269AbiHKMgZ (ORCPT ); Thu, 11 Aug 2022 08:36:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235310AbiHKMgQ (ORCPT ); Thu, 11 Aug 2022 08:36:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0AE61F2C2; Thu, 11 Aug 2022 05:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EjKcNm5XBKv+4XP3DxPH14wZ8amxK8T8GMGh2hMXiMI=; b=wLjsI6J1hyJKgiKQIToeLHhM93 924eyiMZCuzRN+4o52Ty2oRgMQ/ou/O0sFfMWyfbh9IlvhYVRsXkr78l9O3kgle62Zl//dze285GN lOiG5jMGqGj9q6cX6auihyVRYAqaVCUH9VXWCTL05SStnbZ2iUuV7oSCvYRDut1JaDwipsqVFwXB0 CaCbzqQ96+sbsNU2f4UfZXbFe3SKFrQxAWLFjh1Sj3lRo1zro1sJXWPw8tWG+kpEoVQO1blsCsje0 8+qVFeuv+Of6s80yyvqD+tXu5P0TZwAKu3XzarphGv/HN8dGjktNu0tZTzqMOhqUIh3A6ow388Kzb 1E9y882w==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oM7Q0-00CA34-NG; Thu, 11 Aug 2022 12:36:08 +0000 Date: Thu, 11 Aug 2022 05:36:08 -0700 From: Christoph Hellwig To: "Darrick J. Wong" Cc: guaneryu@gmail.com, zlang@redhat.com, linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me Subject: Re: [PATCH 1/2] common: refactor fail_make_request boilerplate Message-ID: References: <165950052948.199134.11841652463463547824.stgit@magnolia> <165950053513.199134.15842568650897036461.stgit@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165950053513.199134.15842568650897036461.stgit@magnolia> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org > +_start_fail_scratch_dev() > +_stop_fail_scratch_dev() I still think passing an explicit device here vs having specific helpers for the scratch device would be better. But overall we need to do this refatoring and given that the patch looks otherwise good: Reviewed-by: Christoph Hellwig