From patchwork Mon Apr 10 16:53:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 9673535 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F369660381 for ; Mon, 10 Apr 2017 16:54:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE9BF2521E for ; Mon, 10 Apr 2017 16:54:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E36A426E3A; Mon, 10 Apr 2017 16:54:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 893D7252D5 for ; Mon, 10 Apr 2017 16:54:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932878AbdDJQxz (ORCPT ); Mon, 10 Apr 2017 12:53:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21115 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755704AbdDJQxy (ORCPT ); Mon, 10 Apr 2017 12:53:54 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D0FE064D80 for ; Mon, 10 Apr 2017 16:53:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D0FE064D80 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=sandeen@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D0FE064D80 Received: from [IPv6:::1] (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A94228311F for ; Mon, 10 Apr 2017 16:53:53 +0000 (UTC) To: linux-xfs From: Eric Sandeen Subject: [PATCH] xfsprogs: document barrier deprecation in xfs(5) Message-ID: Date: Mon, 10 Apr 2017 11:53:53 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 10 Apr 2017 16:53:54 +0000 (UTC) Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since kernel v4.10, the barrier mount option is deprecated: 2291dab2 xfs: Always flush caches when integrity is required 4cf4573d xfs: deprecate barrier/nobarrier mount option Document this fact in the xfs(5) manpage. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong --- -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/man/man5/xfs.5 b/man/man5/xfs.5 index c7fb780..745dad4 100644 --- a/man/man5/xfs.5 +++ b/man/man5/xfs.5 @@ -133,6 +133,12 @@ CRC enabled filesystems always use the attr2 format, and so will reject the noattr2 mount option if it is set. .TP .BR barrier | nobarrier +Note: This option has been +.B deprecated +as of kernel v4.10; in that version, integrity operations are +always performed and the mount option is ignored. These mount +options will be removed no earlier than kernel v4.15. +.sp Enables/disables the use of block layer write barriers for writes into the journal and for data integrity operations. This allows for drive level write caching to be enabled, for