Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S946115AbcJSQKh (ORCPT ); Wed, 19 Oct 2016 12:10:37 -0400 Received: from g2t2353.austin.hpe.com ([15.233.44.26]:17187 "EHLO g2t2353.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941753AbcJSOVa (ORCPT ); Wed, 19 Oct 2016 10:21:30 -0400 X-Greylist: delayed 162046 seconds by postgrey-1.27 at vger.kernel.org; Wed, 19 Oct 2016 10:21:29 EDT From: Toshi Kani To: akpm@linux-foundation.org, dan.j.williams@intel.com Cc: david@fromorbit.com, viro@zeniv.linux.org.uk, ross.zwisler@linux.intel.com, linux-nvdimm@ml01.01.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] iostat update for dax and libnvdimm Date: Wed, 19 Oct 2016 08:19:42 -0600 Message-Id: <1476886784-24644-1-git-send-email-toshi.kani@hpe.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 26 This patch-set adds/updates iostat functions to DAX and libnvdimm. Patch 1 adds iostat support to the DAX read/write path since it only measures metadata at this point. Patch 2 updates nd_iostat_start() and nd_iostat_end() to use the generic iostat interfaces. v3: - Use generic_start_io_acct() and generic_end_io_acct() for both dax and libnvdimm. (Dave Chinner, Dan Williams) v2: - Set a minimum of one sector. (Dan Williams) --- Toshi Kani (2): 1/2 DAX: enable iostat for read/write 2/2 libnvdimm: use generic iostat interfaces --- drivers/nvdimm/core.c | 29 ----------------------------- drivers/nvdimm/nd.h | 11 +++++++++-- fs/dax.c | 15 +++++++++++++++ 3 files changed, 24 insertions(+), 31 deletions(-)