Received: with ECARTIS (v1.0.0; list xfs); Mon, 25 Aug 2008 15:11:20 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m7PMBHDL029601 for ; Mon, 25 Aug 2008 15:11:18 -0700 X-ASG-Debug-ID: 1219702359-2468015f0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from millhouse.houseofnate.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C821F3CCD0E for ; Mon, 25 Aug 2008 15:12:39 -0700 (PDT) Received: from millhouse.houseofnate.net (dsl092-086-237.bos1.dsl.speakeasy.net [66.92.86.237]) by cuda.sgi.com with ESMTP id yZAtmLfHoIgB0TFq for ; Mon, 25 Aug 2008 15:12:39 -0700 (PDT) Received: from [172.20.3.239] (port.exagrid.com [::ffff:64.69.114.146]) (AUTH: LOGIN nturner, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by millhouse.houseofnate.net with esmtp; Mon, 25 Aug 2008 18:12:37 -0400 id 000000000026418A.0000000048B32E56.00003D14 Message-ID: <48B32E36.7060305@houseofnate.net> Date: Mon, 25 Aug 2008 18:12:06 -0400 From: "Nathaniel W. Turner" User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: xfs@oss.sgi.com X-ASG-Orig-Subj: XFS_BUF_ORDERED instead of XFS_BUF_ISORDERED? Subject: XFS_BUF_ORDERED instead of XFS_BUF_ISORDERED? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: dsl092-086-237.bos1.dsl.speakeasy.net[66.92.86.237] X-Barracuda-Start-Time: 1219702360 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0121 1.0000 -1.9419 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.84 X-Barracuda-Spam-Status: No, SCORE=-1.84 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=RDNS_DYNAMIC X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.3712 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.10 RDNS_DYNAMIC Delivered to trusted network by host with dynamic-looking rDNS X-Virus-Scanned: ClamAV 0.91.2/8088/Mon Aug 25 13:49:45 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 17713 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: nate@houseofnate.net Precedence: bulk X-list: xfs Hi folks, While doing a little light reading, I noticed the following in fs/xfs/xfs_log.c:1011 (in the 2.6.26.3 Linux kernel tree). Am I missing something, or should XFS_BUF_ORDERED be replaced with XFS_BUF_ISORDERED in this check? nate /* * If the ordered flag has been removed by a lower * layer, it means the underlyin device no longer supports * barrier I/O. Warn loudly and turn off barriers. */ if ((l->l_mp->m_flags & XFS_MOUNT_BARRIER) && !XFS_BUF_ORDERED(bp)) { l->l_mp->m_flags &= ~XFS_MOUNT_BARRIER; xfs_fs_cmn_err(CE_WARN, l->l_mp, "xlog_iodone: Barriers are no longer supported" " by device. Disabling barriers\n"); xfs_buftrace("XLOG_IODONE BARRIERS OFF", bp); }