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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 4BA79C2BB55 for ; Tue, 7 Apr 2020 17:05:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 176CE20768 for ; Tue, 7 Apr 2020 17:05:26 +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="nRLhE7RH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbgDGRFZ (ORCPT ); Tue, 7 Apr 2020 13:05:25 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44700 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbgDGRFZ (ORCPT ); Tue, 7 Apr 2020 13:05:25 -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=2RHgwpDIANz+TnMNAY7gYzCe9oaoHGyUcHrh9dYnfQI=; b=nRLhE7RHKiQWV33FNNNB6YDjwi sCMLN+xJvEET/eGBKdjulxTCOD+ldjCeEIkGL+dTtKljo5URT4hKnu60KsKRid3MskHAyNiwIW0Qa HOXXam0y98jy0GBJZh4cRuwkWzjNUBN6OhuqP5UZ61g8K3GJXUcFfL5rzJLXgWH9dkIgJqDbQx1HN PPOb9zPczF8M3GwqBhcMOMBZjfgX6bdtpx5Kh3L4aag7sNkVzbKXx/HOTVKpKL5ZfWaW3kPLdj+ad T9+TuPGOVHvnINMeh2oaewHBXyCGS4OIXkJu49n4L0iqTgyDyCMQWORIVKskyKce4hhBMMTEcA3NL BCcgn94g==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jLrfA-0001JV-MB; Tue, 07 Apr 2020 17:05:24 +0000 Date: Tue, 7 Apr 2020 10:05:24 -0700 From: Christoph Hellwig To: Johannes Thumshirn Cc: Jens Axboe , Christoph Hellwig , linux-block , Damien Le Moal , Keith Busch , "linux-scsi @ vger . kernel . org" , "Martin K . Petersen" , "linux-fsdevel @ vger . kernel . org" Subject: Re: [PATCH v4 08/10] null_blk: Support REQ_OP_ZONE_APPEND Message-ID: <20200407170524.GG13893@infradead.org> References: <20200403101250.33245-1-johannes.thumshirn@wdc.com> <20200403101250.33245-9-johannes.thumshirn@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403101250.33245-9-johannes.thumshirn@wdc.com> 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 Fri, Apr 03, 2020 at 07:12:48PM +0900, Johannes Thumshirn wrote: > From: Damien Le Moal > > Support REQ_OP_ZONE_APPEND requests for null_blk devices with zoned > mode enabled. Use the internally tracked zone write pointer position > as the actual write position and return it using the command request > __sector field in the case of an mq device and using the command BIO > sector in the case of a BIO device. > > Signed-off-by: Damien Le Moal Looks good, Reviewed-by: Christoph Hellwig