From patchwork Mon Oct 8 19:32:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 980764 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sandeen.net Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42TVrd1NV6z9s3l for ; Tue, 9 Oct 2018 06:33:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbeJICqX (ORCPT ); Mon, 8 Oct 2018 22:46:23 -0400 Received: from sandeen.net ([63.231.237.45]:39896 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbeJICqX (ORCPT ); Mon, 8 Oct 2018 22:46:23 -0400 Received: by sandeen.net (Postfix, from userid 500) id F394B544; Mon, 8 Oct 2018 14:32:51 -0500 (CDT) From: Eric Sandeen To: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org Subject: [PATCH 0/3] ext2, ext4, xfs: hard fail dax mount on unsupported devices Date: Mon, 8 Oct 2018 14:32:46 -0500 Message-Id: <1539027169-23332-1-git-send-email-sandeen@sandeen.net> X-Mailer: git-send-email 1.8.3.1 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org In response to an earlier xfs patch to change how xfs reacts to dax incompatibilities, Dave said: > I suspect we need to be more harsh are rejecting mounts with -o dax > on devices DAX isn't supported on. This mount option is going into > production systems - it's not just for "testing" as the comments all > claim. i Things will break in production systems if DAX isn't > enabled and they are expecting it to be enabled. and I tend to agree, so proposing this change to hard-fail a dax mount if the device doesn't support it, instead of silently disabling the functionality. Proposing for ext2, ext4, and xfs to keep behavior in sync. Thanks, -Eric