Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753109AbcD2Usa (ORCPT ); Fri, 29 Apr 2016 16:48:30 -0400 Received: from g1t5424.austin.hp.com ([15.216.225.54]:55562 "EHLO g1t5424.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753018AbcD2Us0 (ORCPT ); Fri, 29 Apr 2016 16:48:26 -0400 From: Toshi Kani To: dan.j.williams@intel.com, david@fromorbit.com, jack@suse.cz Cc: tytso@mit.edu, adilger.kernel@dilger.ca, ross.zwisler@linux.intel.com, toshi.kani@hpe.com, linux-nvdimm@ml01.01.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Add alignment check for DAX mount Date: Fri, 29 Apr 2016 14:39:32 -0600 Message-Id: <1461962375-3720-1-git-send-email-toshi.kani@hpe.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 475 Lines: 17 When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Add alignment check to ext4, ext2, and xfs. --- Toshi Kani (3): 1/3 ext4: Add alignment check for DAX mount 2/3 ext2: Add alignment check for DAX mount 3/3 xfs: Add alignment check for DAX mount --- fs/ext2/super.c | 6 ++++++ fs/ext4/super.c | 6 ++++++ fs/xfs/xfs_super.c | 6 ++++++ 3 files changed, 18 insertions(+)