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=-2.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_NEOMUTT autolearn=unavailable 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 09C38C31E45 for ; Thu, 13 Jun 2019 15:08:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D112C20896 for ; Thu, 13 Jun 2019 15:08:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20150623.gappssmtp.com header.i=@toxicpanda-com.20150623.gappssmtp.com header.b="ijpb3i/2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732890AbfFMPIV (ORCPT ); Thu, 13 Jun 2019 11:08:21 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:46004 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732379AbfFMOAY (ORCPT ); Thu, 13 Jun 2019 10:00:24 -0400 Received: by mail-qk1-f195.google.com with SMTP id s22so12773743qkj.12 for ; Thu, 13 Jun 2019 07:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GwTb9BI2f5ybKBNoF1NplcvQUpBaKVKJxwsFqjlRC1A=; b=ijpb3i/2Lb+VobYX2DK9Gl2bviNpKkUKEJmTYoNVT8mhCwXaoODROQGCBSOhVMaNEk q5kzmBF6PtK2inMDmzDMdFC2OqoKSLwbUJAXpEpNnnAtGbTKNarVK30V8dAcZvyaMevm gLIwk058H9uouJGumsKfKwm5/ULAUJI+rnS4wMisCkm2lEOszCJ1EMwEYHedggQ4yOLW arYoaw5eiROsQdWwF27px52osQKJNcaqUKsjuAYKRw0+yYqVC6cHpr1Ftei9BKDQsBUd 0R06Oa8c7s7RFdIbOpsBdaCEAOtFRvkWuBuzs90afQ6tsy81SVHNqpTVHa3MOgTOMJFj pfOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GwTb9BI2f5ybKBNoF1NplcvQUpBaKVKJxwsFqjlRC1A=; b=Vs/NRFGUKDAiPpqZYhqwIfxDrJm0RRK9RauMurL1iiWE0sr/MNLQMHmB78khZ2jkTp vwJEcxCGbEM34MsbHaI/2f4oTDgNJ4kKayxRjpCqjWPU94gpLUyK6//qkjENMnEjmqP7 Bd+kTuP+4JuE2ttn7RUoiPth8/9dv/TedZKoqbOZUx3G2EWYCumUGej20BcSa9R4u4Vr L7ZAGAxHSmNeNvWQVEbIpVbSL8xC49P3EZxINBhoQkWOLBToqXdZaLKUGMgaPHdIuMOZ TWoTqNfQBcbwcQ0S0QUnikcfv7vWKwJGCaX+CwAL5gGcB5JBElnOhRyMsgJ/RGYY1tJb E+Yw== X-Gm-Message-State: APjAAAXKiN6Jq4NznbqQG/oOA+Q3gP4bmdIrmRGXUwh9LpmllNHmpnIW Hcn2qQB9Bief30S8nweSHwFm9A== X-Google-Smtp-Source: APXvYqxh8vCM/pvzEH4tnahtRLzbEwsZyMCxbmxFAiZcArhDBtt/gl6tbxYPxtNzTPzgkdMswgkPIQ== X-Received: by 2002:ae9:e504:: with SMTP id w4mr52029967qkf.296.1560434423873; Thu, 13 Jun 2019 07:00:23 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::9d6b]) by smtp.gmail.com with ESMTPSA id z21sm167500qto.48.2019.06.13.07.00.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 07:00:23 -0700 (PDT) Date: Thu, 13 Jun 2019 10:00:21 -0400 From: Josef Bacik To: Naohiro Aota Cc: linux-btrfs@vger.kernel.org, David Sterba , Chris Mason , Josef Bacik , Qu Wenruo , Nikolay Borisov , linux-kernel@vger.kernel.org, Hannes Reinecke , linux-fsdevel@vger.kernel.org, Damien Le Moal , Matias =?utf-8?B?QmrDuHJsaW5n?= , Johannes Thumshirn , Bart Van Assche Subject: Re: [PATCH 05/19] btrfs: disable direct IO in HMZONED mode Message-ID: <20190613140020.iiqzrkdztindfjyh@MacBook-Pro-91.local> References: <20190607131025.31996-1-naohiro.aota@wdc.com> <20190607131025.31996-6-naohiro.aota@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190607131025.31996-6-naohiro.aota@wdc.com> User-Agent: NeoMutt/20180716 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Fri, Jun 07, 2019 at 10:10:11PM +0900, Naohiro Aota wrote: > Direct write I/Os can be directed at existing extents that have already > been written. Such write requests are prohibited on host-managed zoned > block devices. So disable direct IO support for a volume with HMZONED mode > enabled. > That's only if we're nocow, so seems like you only need to disable DIO into nocow regions with hmzoned? Thanks, Josef