Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751853AbcDOTDg (ORCPT ); Fri, 15 Apr 2016 15:03:36 -0400 Received: from g2t4623.austin.hp.com ([15.73.212.78]:33030 "EHLO g2t4623.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363AbcDOTDe (ORCPT ); Fri, 15 Apr 2016 15:03:34 -0400 From: Waiman Long To: "Theodore Ts'o" , Andreas Dilger Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Tejun Heo , Christoph Lameter , Dave Chinner , Scott J Norton , Douglas Hatch , Toshimitsu Kani , Waiman Long Subject: [PATCH v4 0/2] ext4: Improve parallel I/O performance on NVDIMM Date: Fri, 15 Apr 2016 15:03:10 -0400 Message-Id: <1460746992-1443-1-git-send-email-Waiman.Long@hpe.com> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 36 v3->v4: - For patch 1, add the DIO_SKIP_DIO_COUNT flag to dax_do_io() calls only to address issue raised by Dave Chinner. v2->v3: - Remove the percpu_stats helper functions and use percpu_counters instead. v1->v2: - Remove percpu_stats_reset() which is not really needed in this patchset. - Move some percpu_stats* functions to the newly created lib/percpu_stats.c. - Add a new patch to support 64-bit statistics counts in 32-bit architectures. - Rearrange the patches by moving the percpu_stats patches to the front followed by the ext4 patches. This patchset aims to improve parallel I/O performance of the ext4 filesystem on DAX. Patch 1 eliminates duplicated inode_dio_begin()/inode_dio_end() calls in dax_do_io(). Patch 2 converts some ext4 statistics counts into percpu counts using the helper functions. Waiman Long (2): ext4: Add DIO_SKIP_DIO_COUNT flag to dax_do_io() ext4: Make cache hits/misses per-cpu counts fs/ext4/extents_status.c | 38 +++++++++++++++++++++++++++++--------- fs/ext4/extents_status.h | 4 ++-- fs/ext4/indirect.c | 9 ++++++++- fs/ext4/inode.c | 11 ++++++++--- 4 files changed, 47 insertions(+), 15 deletions(-)