Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7012929ybi; Thu, 13 Jun 2019 08:08:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNUAz/fYxmqj58RFEDE1Mu+io3fOacaDraaRSbB+gCUma/bw+F9Xj49S5un5RmkJfiFKe/ X-Received: by 2002:a63:5c1a:: with SMTP id q26mr32479732pgb.260.1560438535742; Thu, 13 Jun 2019 08:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560438535; cv=none; d=google.com; s=arc-20160816; b=UkJFZZ1bW/qu7xZnmNXpvVvTfi8uTBQ4kvywCuBvxQRCeXIn/3sBO+M1zHAd1VB2Od 9O6xN5ekUxZR2OrVgppBu0BxPsGmSJGGdxC0GZDMLifZHE+Huq4qVrF1UHQZLU7F9K0T U9PVPZttxXItFEdJDxrtGeJw2HjPhgEPraQLOJtAB/9SIV+5rYJtM8ZBWq4G2e1mu6H+ cBqpEghvxXvDZ5wwROR5YtXsXEwITM8J77isBlNfVOHd3UES7rrfnkGY3WgOb9M0Y4HB 4SpM95q11KYJ+hdFzG+uIReo4eC4TYtrd2co0piop7U7jv7aho9vL0CZjwCYvAtteJnQ NNVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GwTb9BI2f5ybKBNoF1NplcvQUpBaKVKJxwsFqjlRC1A=; b=i9gUk1evKpQtG89g/Rql+5AXdGFrVsZ92PP6mn1s1EHTyBXZEuCeFVuwD33izucfan czwLhY+3GoFo6YQpCDmrP76p9fjU0NHuHVbTbdSqcVe+bLSynBK4NBjSAKVhbdaA+WbG PVazmopkcVPvxKeMTs/qVUpkjlXEi0eXfUjFhZ7NOrUndIfxFHURZN7hsiHFtBQgdhqe tMRkloEx2L3y0jIbhCkqYjFGt13tSW+EEhStmygbrGxBHHQ9ZA3I6Ar7NX40iWziCysr kgXYVypmgSgKE4Vhr3Sqgjs001mcUoHq1BGlTjPH6yQjB/WnUbC54XacEdPPzY7p2lDC 03vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b="ijpb3i/2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si3529622plp.4.2019.06.13.08.08.40; Thu, 13 Jun 2019 08:08:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b="ijpb3i/2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733183AbfFMPIF (ORCPT + 99 others); Thu, 13 Jun 2019 11:08:05 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:40650 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732381AbfFMOAY (ORCPT ); Thu, 13 Jun 2019 10:00:24 -0400 Received: by mail-qk1-f195.google.com with SMTP id c70so12762321qkg.7 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=QZBXk9emSgORwUje8e92euYwAGZjh0s39vu2tkaWDKo9ZO5fI96ZkgzOxg7mxSGDCO 9ITB291rL4X8EuRY0J8eynA9PhhcCAP4hSgXgg4IVq4HPcNzTTNwrN8qIFDgGA9vfoxK kPbNiBie2Y5sZ7Rof/HcdgJl3M7A2X4dy4zx7EuDoo8pwhuMzyM0zgu9CQwFxu080GQq oDINUY+zTkVmhbwihYoUbRFkMBhtrbB5TmU8O5djItUNBTAbyJNJySA5HIvp0Mxuvsgn vKFwPF1hbDsrjpTAhy5DklBslx75uEPTjgEXYtjKRCgH/PpNkLn7HEpNFpQ/58H5iTa3 ff7g== X-Gm-Message-State: APjAAAWqYuoGH+w2EFcJLSH0FV7xrJahZpME1J/nvuClTuz5gVCNRs5u 7xPyPWPOigx5WHBezeWsV/7wXg== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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