From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jeff Moyer To: Christoph Hellwig Cc: Toshi Kani , akpm@linux-foundation.org, dan.j.williams@intel.com, linux-nvdimm@ml01.01.org, david@fromorbit.com, linux-kernel@vger.kernel.org, Joe Perches , viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v5] DAX: enable iostat for read/write References: <20170112183848.23159-1-toshi.kani@hpe.com> <20170125111952.GA11978@infradead.org> Date: Wed, 25 Jan 2017 10:15:50 -0500 In-Reply-To: <20170125111952.GA11978@infradead.org> (Christoph Hellwig's message of "Wed, 25 Jan 2017 03:19:52 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: Christoph Hellwig writes: > On Thu, Jan 12, 2017 at 11:38:48AM -0700, Toshi Kani wrote: >> DAX IO path does not support iostat, but its metadata IO path does. >> Therefore, iostat shows metadata IO statistics only, which has been >> confusing to users. >> >> Add iostat support to the DAX read/write path. >> >> Note, iostat still does not support the DAX mmap path as it allows >> user applications to access directly. > > NAK. DAX I/O should not be accounted for block device statistics. Agreed, this is a layering violation. Cheers, Jeff