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 X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F0D2C2D0EC for ; Sat, 28 Mar 2020 09:21:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2795020723 for ; Sat, 28 Mar 2020 09:21:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZsSjQArA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726156AbgC1JVy (ORCPT ); Sat, 28 Mar 2020 05:21:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56324 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbgC1JVx (ORCPT ); Sat, 28 Mar 2020 05:21:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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=Inx7aRdUFjHlYSfchtyETJIY8zMQ9tiWJ/ieP3K5zKk=; b=ZsSjQArAMCfvzvTwzVt3iuwy13 U3XTQ8o1V1giP3YsRPSgwniAwR/WqLMavMdONJ1P32oVnD50JnCi5Pelp+E2RbkMphc1JmQesb0D/ egoTcZS390q85Ujc8tuy9F+KeZaxGM3WjbBC4uBeUryloiVxOLs2RhJIid/OC7C70jzMTYorpPPuC JY4lmpbPTe9LDfPfQQIBY4hzasnU5UixjFZgX7il+W/kdhU0tDA3pBkcIpVxWmvFJKY5BlNBCskUP LARf92Fk+e1UU78MFVXEKggjezNz6g8CX3qCPg3Uqmr2Ylm36Wdf4ckAS/l0lfVGUG3msp3xpi8U8 45eiRTSA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jI7f3-0006un-I9; Sat, 28 Mar 2020 09:21:49 +0000 Date: Sat, 28 Mar 2020 02:21:49 -0700 From: "hch@infradead.org" To: Damien Le Moal Cc: "hch@infradead.org" , Johannes Thumshirn , Jens Axboe , linux-block , Keith Busch , "linux-scsi @ vger . kernel . org" , "Martin K . Petersen" , "linux-fsdevel @ vger . kernel . org" Subject: Re: [PATCH v3 06/10] scsi: sd_zbc: emulate ZONE_APPEND commands Message-ID: <20200328092149.GA20911@infradead.org> References: <20200327165012.34443-1-johannes.thumshirn@wdc.com> <20200327165012.34443-7-johannes.thumshirn@wdc.com> <20200328085106.GA22315@infradead.org> <20200328090715.GA26719@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Sat, Mar 28, 2020 at 09:18:20AM +0000, Damien Le Moal wrote: > OK. We can try again to see if we can keep all this WP caching in sd. The only > pain point is the revalidation as I explained before. Everything else would stay > pretty much the same and all be scsi specific. I will dig again to see what can > be done. Maybe just start with a dumb version that calls into sd where the block layer currently updates? Once you've got that working I can play a bit with it and figure out if changes to disk revalidation can clean that up? I've been wantint to turn revalidate_disk and fiends upside down for a while as that area is rather grotty.