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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 ACF8CC433B4 for ; Mon, 19 Apr 2021 06:45:54 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1550D6113C for ; Mon, 19 Apr 2021 06:45:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1550D6113C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=dm-devel-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-296-N92rtAghM4qPo7JXWDAOwg-1; Mon, 19 Apr 2021 02:45:50 -0400 X-MC-Unique: N92rtAghM4qPo7JXWDAOwg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 08A348189C7; Mon, 19 Apr 2021 06:45:46 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CEAAA5B4B5; Mon, 19 Apr 2021 06:45:44 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B2ACA1806D17; Mon, 19 Apr 2021 06:45:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13J6jcFp013292 for ; Mon, 19 Apr 2021 02:45:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2F3582ED80; Mon, 19 Apr 2021 06:45:38 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A3B27C2C for ; Mon, 19 Apr 2021 06:45:34 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8E2A6802A64 for ; Mon, 19 Apr 2021 06:45:34 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-268-GUg3QBlqPyu-MRuE0-K-ww-1; Mon, 19 Apr 2021 02:45:32 -0400 X-MC-Unique: GUg3QBlqPyu-MRuE0-K-ww-1 Received: by verein.lst.de (Postfix, from userid 2407) id 8535E6736F; Mon, 19 Apr 2021 08:45:29 +0200 (CEST) Date: Mon, 19 Apr 2021 08:45:29 +0200 From: Christoph Hellwig To: Damien Le Moal Message-ID: <20210419064529.GA19041@lst.de> References: <20210417023323.852530-1-damien.lemoal@wdc.com> <20210417023323.852530-4-damien.lemoal@wdc.com> MIME-Version: 1.0 In-Reply-To: <20210417023323.852530-4-damien.lemoal@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: dm-devel@redhat.com Cc: Jens Axboe , linux-scsi@vger.kernel.org, Mike Snitzer , Johannes Thumshirn , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Shinichiro Kawasaki , dm-devel@redhat.com, "Martin K . Petersen" , linux-fsdevel@vger.kernel.org, Christoph Hellwig Subject: Re: [dm-devel] [PATCH v2 3/3] zonefs: fix synchronous write to sequential zone files X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sat, Apr 17, 2021 at 11:33:23AM +0900, Damien Le Moal wrote: > Synchronous writes to sequential zone files cannot use zone append > operations if the underlying zoned device queue limit > max_zone_append_sectors is 0, indicating that the device does not > support this operation. In this case, fall back to using regular write > operations. Zone append is a mandatory feature of the zoned device API. -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel 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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 0AFE5C433B4 for ; Mon, 19 Apr 2021 06:45:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CFC276101C for ; Mon, 19 Apr 2021 06:45:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232041AbhDSGqD (ORCPT ); Mon, 19 Apr 2021 02:46:03 -0400 Received: from verein.lst.de ([213.95.11.211]:45308 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbhDSGqB (ORCPT ); Mon, 19 Apr 2021 02:46:01 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 8535E6736F; Mon, 19 Apr 2021 08:45:29 +0200 (CEST) Date: Mon, 19 Apr 2021 08:45:29 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: dm-devel@redhat.com, Mike Snitzer , linux-block@vger.kernel.org, Jens Axboe , linux-nvme@lists.infradead.org, Christoph Hellwig , linux-scsi@vger.kernel.org, "Martin K . Petersen" , linux-fsdevel@vger.kernel.org, Johannes Thumshirn , Shinichiro Kawasaki Subject: Re: [PATCH v2 3/3] zonefs: fix synchronous write to sequential zone files Message-ID: <20210419064529.GA19041@lst.de> References: <20210417023323.852530-1-damien.lemoal@wdc.com> <20210417023323.852530-4-damien.lemoal@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210417023323.852530-4-damien.lemoal@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Sat, Apr 17, 2021 at 11:33:23AM +0900, Damien Le Moal wrote: > Synchronous writes to sequential zone files cannot use zone append > operations if the underlying zoned device queue limit > max_zone_append_sectors is 0, indicating that the device does not > support this operation. In this case, fall back to using regular write > operations. Zone append is a mandatory feature of the zoned device API. 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=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 56533C433ED for ; Mon, 19 Apr 2021 06:46:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1DFD361104 for ; Mon, 19 Apr 2021 06:46:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DFD361104 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=t0qjDT27eFjCfvYGQiAPdeKkVvbf8iYtQF4lWmNy0vE=; b=HzurU74q2hOvT8niEhOcrg6iZ 2AtQhOwjcuwiRMi8E+zOY0y12jS0qOQHnyN1ri1E80e8NCLc1F2+kEF8Ll39L1TUJHGf4A7STfZ7w AwFEaBFQgKR07cpC7PvhKJgeiWQiI7XsTh1OGNuehX1ePzRywOwmnCQ/w8qUApfeZzQiK6PuAU8rY gX04HsQRvd0g/75vzDIs6YwJBh+nesBomBQzLtclsVESuPHBL5YQM9McJA4RT4et/k3XTw4CB2caZ 3wnbdOso3mcuYfF1cESWVQpsp70EEN7NwLW08E4uZQcZKAofEPRTCavNv88cyH8nJtqSgf7SsMoiR t6HEpa8dg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lYNf9-009Fxt-FC; Mon, 19 Apr 2021 06:45:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYNf7-009Fxd-88 for linux-nvme@desiato.infradead.org; Mon, 19 Apr 2021 06:45:37 +0000 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=017vf1NZ2p/pcaTQ0C07hqpG9djQcqMno+rozpMO9wg=; b=ldIufCbez1GNabSqpTOsw1uoF3 0awUm1q6KH9PD9CiIQfy/yRN5OZ60drKgsA7RDLvt9cS5uFHT/9VyWMp3VOl2y+1SRf/aHlvAv56X uNKJ1FLdrdfSE/zf0Oub/5N8q/oEEinj0ygZC+dc5lCAHftD/T7OXB3SJI8GCBtYBmzCDZcnBzHdK BwSk0l35XGT5NF1vaUdE2uW1PR+1gau9b8I2HsHZmZ/O2Xx7Z8e1dc1tDtFr5bpZD3lj8zUPEkN/Z 3MarmOMn5TfocWWsGshjkWF9KvVyU/tcUjleCdGzRbCPDCiaGrvN9eWvCYMWtec82lNGom+xIrVoU FWeBLqWA==; Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYNf2-00B58b-5u for linux-nvme@lists.infradead.org; Mon, 19 Apr 2021 06:45:36 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 8535E6736F; Mon, 19 Apr 2021 08:45:29 +0200 (CEST) Date: Mon, 19 Apr 2021 08:45:29 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: dm-devel@redhat.com, Mike Snitzer , linux-block@vger.kernel.org, Jens Axboe , linux-nvme@lists.infradead.org, Christoph Hellwig , linux-scsi@vger.kernel.org, "Martin K . Petersen" , linux-fsdevel@vger.kernel.org, Johannes Thumshirn , Shinichiro Kawasaki Subject: Re: [PATCH v2 3/3] zonefs: fix synchronous write to sequential zone files Message-ID: <20210419064529.GA19041@lst.de> References: <20210417023323.852530-1-damien.lemoal@wdc.com> <20210417023323.852530-4-damien.lemoal@wdc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210417023323.852530-4-damien.lemoal@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210418_234532_387609_F1C5CE0E X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Sat, Apr 17, 2021 at 11:33:23AM +0900, Damien Le Moal wrote: > Synchronous writes to sequential zone files cannot use zone append > operations if the underlying zoned device queue limit > max_zone_append_sectors is 0, indicating that the device does not > support this operation. In this case, fall back to using regular write > operations. Zone append is a mandatory feature of the zoned device API. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme